We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if you have a file like this:
var WhatEv = React.createClass({ render: function() { return(<Part />); }, }) bottlereact._register('WhatEv', WhatEv) var Part = React.createClass({ render: function() { return(<div>part</div>); }, })
BR sometimes can try to render the page before Part has been defined. This is because register can initiate a render if it's the last dependency met.
Part
register
The text was updated successfully, but these errors were encountered:
to fix this, trigger the render w/ a setTimeout of 0. this will put it next in the queue, rather than before the current file has finished parsing.
setTimeout
Sorry, something went wrong.
fix dep issue #6
43f0466
fixed in 0.4.3
0.4.3
No branches or pull requests
if you have a file like this:
BR sometimes can try to render the page before
Part
has been defined. This is becauseregister
can initiate a render if it's the last dependency met.The text was updated successfully, but these errors were encountered: