React-Type-R
React-Type-R copied to clipboard
Type-R Models binding to React
React 16.3 introduce some new lifecycle hooks and they will deprecate some of the old one in the next release. Also they are very clear with that the constructor, componentWillMount...
An existing context API will be phased out in v17, thus an approach to the stores need to be revised. First, we will need to define the global Provider/Consumer pair...
- Props watchers must use the same mechanics as pureRender to detect props changes. - state and store updates must not trigger UI updates when made from the props watcher....
So, it should use this form of the prop check: ``` function(props, propName, componentName) { if (!/matchme/.test(props[propName])) { return new Error( 'Invalid prop `' + propName + '` supplied to'...
The development job is done, all we need it to create the beautiful docs. Any help (reviews, edits, contributions, ideas, suggestions) would be highly appreciated.