3 ms·
Don’t use state, except within a component. I build all my react this way. No prop drilling, no Redux, no context, no mobx no state. If you need to communica
by andrewstuart 2y ago
Don’t use state, except within a component.
I build all my react this way.
No prop drilling, no Redux, no context, no mobx no state.
If you need to communicate between components then send a document event.
Your react application will be dramatically more simple without state.