Content pfp
Content
@
https://warpcast.com/~/channel/react
0 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
Now this is a React state manager I can get behind. Just do property assignments and let the underlying JavaScript `Proxy` objects take care of the rest. No ugly `useState()` or `setVariableName()` functions in sight. (Notice how you can bypass the React Hooks runtime entirely by `subscribe()`-ing to changes.)
4 replies
0 recast
8 reactions

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
https://lynxjs.org/react/state-management/valtio.html
0 reply
0 recast
3 reactions

Ibrahim | builderr pfp
Ibrahim | builderr
@ibrahim-building
You are already rocking lynx..? I will still stick with useState in this context..😆😆 need to try valito soon too
1 reply
0 recast
1 reaction

Barbs pfp
Barbs
@bbq
what are the benefits of this approach? it looks like a bunch of boilerplate for the same outcome as a usestate - is there something about the proxy pattern that is preferable, genuine Q
1 reply
0 recast
1 reaction

‎ pfp
‎
@mpryor.eth
đŸ€” nice
0 reply
0 recast
1 reaction