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

remove onload #69

Closed
wants to merge 1 commit into from
Closed

remove onload #69

wants to merge 1 commit into from

Conversation

yoshuawuyts
Copy link
Member

Discussed this in person in Portland in January - removes the onload tag. When using DOM diffing libraries theonload/onunload tags don't work. Semver major, definitely

@greghuc
Copy link
Contributor

greghuc commented May 3, 2017

@yoshuawuyts is there a suggestion of what to use instead of on-load? I'm using nanomorph with bel, and very occasionally need an 'onunload' callback. 'onload' callbacks are less of an issue, as you can just execute the callback the first time a component is generated with bel/nanomorph.

@timwis
Copy link
Member

timwis commented May 3, 2017

@greghuc my guess is he'd recommend using the on-load library directly.

When using DOM diffing libraries theonload/onunload tags don't work.

I'm curious what you mean by this?

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

Successfully merging this pull request may close these issues.

3 participants