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

warn on onrender/onteardown, replace with oncreate/ondestroy #316

Merged
merged 6 commits into from
Mar 1, 2017

Conversation

Rich-Harris
Copy link
Member

Addresses #40. Removing onrender/onteardown will be a breaking change, but we can minimise the disruption by deprecating it now (ahead of a version 2 release) in a non-breaking way — i.e. printing a deprecation warning and translating the names behind the scenes. This PR also affords an opportunity for a final round of bikeshedding. Feedback welcome.

@Rich-Harris Rich-Harris merged commit 9fc2108 into master Mar 1, 2017
@Rich-Harris Rich-Harris deleted the gh-40 branch March 1, 2017 22:37
@Rich-Harris Rich-Harris changed the title [WIP] warn on onrender/onteardown, replace with oncreate/ondestroy warn on onrender/onteardown, replace with oncreate/ondestroy Mar 1, 2017
@Conduitry
Copy link
Member

Did this make it into the changelog? I don't see it there

@Rich-Harris
Copy link
Member Author

whoops! no, will add

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.

None yet

2 participants