Skip to content

Why use onMount and loaded? #73

Closed Answered by CKGrafico
R-Bower asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your question,

In version 1.0 the goal was to be able to have everything working in all the platforms and try to have the same feeling in most of the components. Probably to have this setLoaded in a button makes no sense but on other components was really difficult to have the SSR just working.

In next iterations we can start to think about element corner cases (example setloading in a button makes no sense) and platform corner cases (example setloading for itchio component in react make no sense but in svelte makes sense).

Adding to the list thanks!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by CKGrafico
Comment options

You must be logged in to vote
0 replies
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