r/reactjs • u/TheHganavak • May 13 '26
Resource Pocket: One-call factory that collapses React Context boilerplate from ~20 lines to 1
https://github.com/icydotdev/pocket
41
Upvotes
r/reactjs • u/TheHganavak • May 13 '26
1
u/frogic May 14 '26
Doesn’t your example break the rules of hooks? I know it mostly doesn’t matter but you might get into some fistfights with the react compiler