hyper-react icon indicating copy to clipboard operation
hyper-react copied to clipboard

The project has moved to Hyperstack!!

Results 76 hyper-react issues
Sort by recently updated
recently updated
newest added

the render_while_loading block would be called when a component child is loading, as error handler implemented using after_error. Is there a better way? This is not compatible with ``` render...

discussion

All callback handlers that take parameters (component_will_receive_props, component_will_update, component_did_update) as well as should_component_update? are actually broken ATM. The params to these methods are hashes, and the `create_native_react_class` method was refactored...

documentation

A reason for slow and repeated rendering is, that `should_component_update?` when checking if params are updated may always lead true. This is due to limitations of javascript. It is recommended...

documentation

_From @catmando on January 6, 2016 23:54_ for example ``` ruby div(attributes, {more: :stuff}, :big, id: "hello", style: {display: :none}) ``` should be the same as ``` ruby div(attributes.merge {more:...

Looking at the code I also discovered you can use methods to add classes haml style. AKA: ```ruby div.green.round { "Hey!" } #=> Hey! ``` While excessive metaprogramming in the...

I am extremely in favour of incinerating the lowercase element methods. I've already had two name collisions; the p method and defining my own small method. There are too many...

It would be great if you could use the Sprockets view method `asset_path` in Hyperloop components. Here is one way to do it. Add this file (and make sure it...

```ruby class SignupFlowsController < ApplicationController def show render_component "SignupFlow::Router", layout: "signup_flow" end end ``` Above doesn't work, `layout` is ignored. Workaround is to use top level `layout` method: ```ruby class...

Some react libs allow a component class to be passed as a "control". There is no easy to convert a Hyperloop::Component to the underlying JS component. It can be done...

help wanted

Instead of requiring ruby racer we should: Check if it is present, if so use it for prerendering (if prerendering config is on) if not present and prerendering config option...

enhancement
help wanted