Re:Preact, a fast 3k React alternative
by developit on Thursday January 28, 2016 @06:45PM
(#10992459)
PropTypes are supported out of the box in preact-compat. You could also use them via a preact vnode hook and the "proptypes" module (npm.im/proptypes), which is just pulled from React's codebase. Synthetic events I'm very much open to feedback on - I tend to fire actual DOM events in my Karma tests, but it seems that less common.
[ Parent
| on HN ]
There are no comments on this comment yet.