Skip to content
New issue

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

support rendering after init with promise #8

Open
zbryikt opened this issue Feb 16, 2022 · 2 comments
Open

support rendering after init with promise #8

zbryikt opened this issue Feb 16, 2022 · 2 comments

Comments

@zbryikt
Copy link
Contributor

zbryikt commented Feb 16, 2022

we may need some object to be used in render after inited.

@zbryikt
Copy link
Contributor Author

zbryikt commented Feb 16, 2022

use view.init!then -> view.render!

@zbryikt zbryikt closed this as completed Feb 16, 2022
@zbryikt
Copy link
Contributor Author

zbryikt commented Feb 17, 2022

view.init!then -> view.render! may not work since we need by selector initialization especially when selector may changes over time - after all we may not want to call init each time when we want to render, but still want to ensure that initialization is done before rendering for each selector.

@zbryikt zbryikt reopened this Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant