hyper-react
hyper-react copied to clipboard
The project has moved to Hyperstack!!
Components can be provided a key, via the special `key` parameter that ensures when rendering lists of components the ordering does not change, and speeds up the rendering of the...
currently all (many?) of the specs are using the soon to be deprecated old style lower case HTML tags. I.e. `div` should be `DIV`. etc. etc. etc.
Not sure if this was a regression that got fixed or what, but we need to add a test case like this: ``` it "will preserve boolean values correctly" do...
Hyper-react (hyper-store actually) bundles all state changes and fires them *after* the end of the render cycle. This defaults heuristics in React's handling of inputs. Only way to see this...
_From @catmando on November 25, 2015 21:40_ why even declare states? state :foo is completely redundant, and is at odds with the rest of ruby. executing state.foo should just create...
there are three "modifiers" when a component is mounted: `on(...)` `while_loading` `after_error` (proposed, but will probably be added in 1.0) A proposal is to make these consistent like this: `on(...)`...
Group all state updates in a given render cycle together ```ruby module React class State def self.set_state(object, name, value, delay=true) states[object][name] = value if delay || @bulk_update_flag @delayed_updates ||= Hash.new...
Currently we got three runtime dependencies, * opal * opal-activesupport * react-rails It will be nice if we could test against the master branch of those gems. And with [cron...
_From @zetachang on February 18, 2015 16:41_ ## React - [x] React.createClass - **not valid**, `React.create_element` automatically cache the component class - [x] React.createElement - [ ] React.createFactory - [x]...
as with lap20 the after_error callback is available, resembling react 16 error handling https://reactjs.org/docs/error-boundaries.html#introducing-error-boundaries a render_after_error block became possible.