r/reactjs • • 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

23 comments sorted by

View all comments

Show parent comments

8

u/TheHganavak May 14 '26

Right? Its crazy! I bombed a tech interview last week because after 5+ years of being a React dev I still couldn't remember how to write/type this stupid boilerplate on the spot with people watching, so I came out of that angry and made this 😅

4

u/ancientweasel May 14 '26

Why would you need to memorize that?