react.rb
react.rb copied to clipboard
error if component is not required
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.
This issue was moved to reactrb/reactrb#30