You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the heads-up - to clarify, a React.createBackboneClass class looks for props.model, which you can inject however is best for your application.
I've added an extended example to the docs: e65cd27
When reading over the documentation, instantiation is a bit confusing. The last line says
But in the React documentation that's generally not how instantiation / adding to dom occurs:
_HelloMessage.coffee_
and then in main.coffee
How exactly do you pass your model into the component? Returning a
HelloMessage({ model: model }})
doesn't work as it should, but a simple addition of... would suffice for users new to the library and wrapper.
Do you think you can provide a more full-featured usage example on the README? It would be much appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: