News for hackers. Stuff that matters.
Re:When to Use TypeScript – A Detailed Guide Through Common ... by revskill on Sunday April 07, 2019 @12:20PM (#19597792)
This.

I always focus more on the "foundation" part, in this case, it's common React Hooks and its API for the components to use.

The good part is, if some hooks are wrong, we can just write new one and replace old ones within old components without the need of taking care of the old wrong Hooks.

Re:When to Use TypeScript – A Detailed Guide Through Common ... by chrisweekly on Sunday April 07, 2019 @06:03PM (#19600219)
Aren't Hooks too new for you to make claims about what you "always" do with them?
Re:When to Use TypeScript – A Detailed Guide Through Common ... by revskill on Sunday April 07, 2019 @06:10PM (#19600262)
Before, it was HOC and RenderProps. This is just an example with Hooks, it's mostly how i approach the problem though.
Re:When to Use TypeScript – A Detailed Guide Through Common ... by chrisweekly on Monday April 08, 2019 @07:58AM (#19604341)
Right on, makes sense.