Skip to content
Discussion options

You must be logged in to vote

One is bound in the Dom the other in the component.

X-init can go on any element even if it's not a component root element.

In the most strict sense, init() is useful for setup work a component will always need to do, while x-init is good when it's this specific instance needs to do something.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lonix1
Comment options

@browner12
Comment options

@lonix1
Comment options

@ekwoka
Comment options

Answer selected by lonix1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants