Show HN: Typechecked – boilerplate-free state transformations with redux-modules
1–6 of 6 posts
Re: Show HN: Typechecked – boilerplate-free state transformations with redux-modules
#2this is doppppe
Re: Show HN: Typechecked – boilerplate-free state transformations with redux-modules
#3this is doppppe
Thanks ^^
It's all about improving developer experience
Re: Show HN: Typechecked – boilerplate-free state transformations with redux-modules
#4Am I correct that this completely binds you to React, ie, couldn't be used with Angular or Mithril or anything?
Re: Show HN: Typechecked – boilerplate-free state transformations with redux-modules
#5Am I correct that this completely binds you to React, ie, couldn't be used with Angular or Mithril or anything?
Nope, this is just another way to define Redux reducers. It's compatible with anything Redux is compatible with :)
Re: Show HN: Typechecked – boilerplate-free state transformations with redux-modules
#6Am I correct that this completely binds you to React, ie, couldn't be used with Angular or Mithril or anything?
The payload typechecking does conform to React's PropType standard though. If you don't want to require React for that to work you can grab a standalone PropType library. There are a few available:
https://www.npmjs.com/package/react-immutable-proptypes https://www.npmjs.com/package/react-prop-types