Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The TypeScript boilerplate that hooks eliminate for a react redux app is just insane. I don't think I can ever go back. For the slight bit of magic that make hooks work, you end up with such a concise function that describes the important parts and not the boilerplate.

They're not perfect. To each their own opinion. But they are what ES6 did for me to the language landscape.



Glad to hear it!

I just wrote a tutorial that shows how to use Redux Starter Kit, TypeScript, thunks, and React-Redux hooks together. Should hopefully be a big help, for the reasons you described:

https://redux-starter-kit.js.org/tutorials/advanced-tutorial




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: