Skip to content

Component specific async things #68

Answered by ivanceras
yatesco asked this question in Q&A
Discussion options

You must be logged in to vote

I haven't put much thought about the init method being in the component. This could also be achieved using the on_mount event, however, there is no on_unmount event. The yew framework would probably suit your needs much better, since it follows react's design pattern.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yatesco
Comment options

Answer selected by yatesco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants