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
I'm proposing we do away with requiring the render call manually, unless someone passes render: false as part of the config.
render: false
With YUI, in 90% of the cases, when we instantiated the component was also when we wanted to render it. So my proposal would end up looking like:
let myCmp1 = new MyComponent({}); //renders component let myCmp2 = new MyComponent({ render: false }); // do some work ... myCmp.render();
What do you guys think?
The text was updated successfully, but these errors were encountered:
Oh, I agree with that. Today, I forgot to do that.
Sorry, something went wrong.
I'd be happy to loose that «oh yeah, I need to render it» moment.
SGTM. We can handle this improvement next week. Feel free to send pull request to it :)
It took longer than a week, but we did this change now, creating a component now also renders it by default :)
No branches or pull requests
I'm proposing we do away with requiring the render call manually, unless someone passes
render: false
as part of the config.With YUI, in 90% of the cases, when we instantiated the component was also when we wanted to render it.
So my proposal would end up looking like:
What do you guys think?
The text was updated successfully, but these errors were encountered: