Content
@
0 reply
0 recast
0 reaction
Darryl Yeo đ ïž (at Devcon)
@darrylyeo
Treat React Hooks for what it is â a separate programming language. Hooks happen to use JavaScript-y syntax and package mechanisms, but they ignore all the usual conventions around references and closures due to the implied re-rendering loop and are thus incompatible with the rest of the JavaScript ecosystem.
3 replies
3 recasts
24 reactions
Marc BHE Season đâŁïž
@bighamenergy.eth
Since I adopted zustand hooks are gone forever, it even allows me to work in a Vanilla style if i want, state management and interactions are pretty easy now, just sharing in case it's useful to not get so entangled with react https://zustand-demo.pmnd.rs/
1 reply
0 recast
2 reactions
Darryl Yeo đ ïž (at Devcon)
@darrylyeo
Have you used Zustand outside of a React project before? Curious what that experience is like.
2 replies
0 recast
1 reaction
henrywifđ”
@hz
Hope itâs not the same experience as using it in React đ€§
1 reply
0 recast
2 reactions
Marc BHE Season đâŁïž
@bighamenergy.eth
I am using it on react. Use case here https://app.unionavatars.com the whole application uses react zustand and drei
0 reply
0 recast
1 reaction