Show HN: Typechecked – boilerplate-free state transformations with redux-modules (github.com) 11 points by mboperator 10y ago ↗ HN
[–] charismaticMF 10y ago ↗ this is doppppe [–] mboperator 10y ago ↗ Thanks ^^ It's all about improving developer experience
[–] acemarke 10y ago ↗ Am I correct that this completely binds you to React, ie, couldn't be used with Angular or Mithril or anything? [–] mboperator 10y ago ↗ Nope, this is just another way to define Redux reducers. It's compatible with anything Redux is compatible with :) [–] mboperator 10y ago ↗ 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
[–] mboperator 10y ago ↗ Nope, this is just another way to define Redux reducers. It's compatible with anything Redux is compatible with :)
[–] mboperator 10y ago ↗ 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
5 comments
[ 3.4 ms ] story [ 23.5 ms ] threadhttps://www.npmjs.com/package/react-immutable-proptypes https://www.npmjs.com/package/react-prop-types