Right now, you have to expose a function ``` javascript (props) => <MyComponent {...props}/> ``` instead of just `MyComponent`, as is done in the react-rails gem. We'll soon support both ways.
Right now, you have to expose a function
instead of just
MyComponent, as is done in the react-rails gem.We'll soon support both ways.