2 ms·
When we need a custom hook to have consistent state across calling components we have always used a context: https://reactjs.org/docs/context.html#when-to-use-c
by ishjoh 5y ago
When we need a custom hook to have consistent state across calling components we have always used a context:
https://reactjs.org/docs/context.html#when-to-use-context https://reactjs.org/docs/context.html#when-to-use-context