News for hackers. Stuff that matters.
Re:Show HN: The simplest React state manager now at stable r... by tomaszs on Tuesday April 20, 2021 @07:15AM (#26873114)
It looks promising. I wonder how it will play with TypeScript. Would need to dig deeper. However the angle to make it simple is great. No boilerplate code, unit testing as it should have always been. Great work!
Re:Show HN: The simplest React state manager now at stable r... by aenero on Tuesday April 20, 2021 @09:57AM (#26874736)
Happy to say that this also works well with TypeScript with minimal explicit types required. My main goal is to maximize the use of type inference. The documentation provides TypeScript version of each example (outside of the TL;DR cheat sheet), except in cases where TS version is the same as the JS due to type inference. Even where there is TS version, the difference from JS is minimal.