Bennett Hardwick

2 pages tagged with "typescript"

Rewriting Facebook's "Recoil" React library from scratch in 100 lines

September 09, 2020 - 1796 words - 9 mins
Recoil is a slick new React library written by some people at Facebook that work on a tool called “Comparison View." It came about because of ergonomics and performance issues with context and useState. It’s a very clever library, and almost everyone will find a use for it - check out this explainer video if you want to learn more. Read More…

Making Typescript packages JavaScript friendly

February 06, 2018 - 579 words - 3 mins
I don’t know about you, but when I first started using Typescript it was an absolute game changer for me. Even for simple projects, where I’d be writing less than 100 lines of JavaScript, I’d always opt-in to using Typescript instead. Read More…