Usually, react component will only read data from states, props or context. Or we can use any third party library such as redux to store global data.This covers most of the cases, but what if we want our component to be sync with a global variable? F...

Markdown supported · ⌘↵ to post
No responses yet.