react.rb icon indicating copy to clipboard operation
react.rb copied to clipboard

error if component is not required

Open catmando opened this issue 9 years ago • 1 comments

Say you do this:

React.render(React.create_element(MyFatComponent), Element['div.navigation'])

and you forget to require 'my_fat_component' Nothing happens, and there are no errors or warnings.

Instead the create_element binding (and similar) should make sure the constant does exist and responds to render.

catmando avatar May 12 '15 15:05 catmando

This issue was moved to reactrb/reactrb#30

sollycatprint avatar Jun 10 '16 20:06 sollycatprint