Re:Show HN: Typechecked – boilerplate-free state transformat...
by acemarke on Friday March 25, 2016 @05:58PM
(#11362993)
Am I correct that this completely binds you to React, ie, couldn't be used with Angular or Mithril or anything?
[ Parent
| on HN ]
Re:Show HN: Typechecked – boilerplate-free state transformat...
by mboperator on Friday March 25, 2016 @06:10PM
(#11363075)
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
Re:Show HN: Typechecked – boilerplate-free state transformat...
by mboperator on Friday March 25, 2016 @06:07PM
(#11363056)
Nope, this is just another way to define Redux reducers. It's compatible with anything Redux is compatible with :)