react-future
react-future copied to clipboard
Specs & docs for potential future and experimental React APIs and JavaScript syntax.
this file for testing
After having programmed in React Native for two years and having finally returned to the web, I am horrified by all the boilerplate involved in conditionally applying styles. The pattern...
React can be a language agnostic design pattern. Many languages have implemented their own version of JavaScript. A natural step for them is to come up with some sort of...
Add `interface S` for the type of state
``` javascript var Hello = React.createClass({ getExpensiveNumber: function() { return ...; // expensive value computed from props and state }, computeSomethingBasedOnExpensiveValue: function() { return this.getExpensiveNumber() + 1; }, render: function()...
From @syranide > http://wiki.ecmascript.org/doku.php?id=harmony:array_comprehensions could this be something to consider for JSX? I.e. statement like syntax inside braces, more readable than ternary and various other hacks while still being very...
What about if we can get rid of `this`: ``` jsx render(state = { count: 0 }, props = {}) { return ( Clicked {state.count} times! render({ count: state.count +...
Hello! @chrislloyd and myself here from Pinterest. We're currently looking at ways of doing grid layout in React and have a need to pre-render elements to calculate positioning data. We're...
Added: - VanillaJS version for implementing transferring props with ES6 and helper functions (not waiting for rest operator to be supported on object properties) - An edit on Primitives, so...