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
Here is code for reproducing:
var Test = React.createClass({ render: function() { return ( <select defaultValue={this.props.current}> {this.props.items.map((i) => ( <option value={i} key={i}>{i}</option> ))} </select> ); } }); var container = document.getElementById('container'); var code = document.getElementById('code'); var test = <Test items={[1, 2, 3]} current={2} />; var prerender = React.renderToString(test); code.innerText = prerender.replace(/></g, '>\n<'); container.innerHTML = prerender; setTimeout(() => { React.render(test, container) }, 1000);
So I'm rendering select on the server and got small lag on the client.
select
The text was updated successfully, but these errors were encountered:
Well, that's annoying. https://jsfiddle.net/pgtf6aym/
Sorry, something went wrong.
Fixed in 0.14 by #3595.
No branches or pull requests
Here is code for reproducing:
So I'm rendering
select
on the server and got small lag on the client.The text was updated successfully, but these errors were encountered: