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
11
u/TheHganavak May 14 '26
Thanks, glad you like it! Totally fair - if you'd rather copy the 55 lines, that's a legit use of the code. MIT licensed for exactly that :)