Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Removed core-decorators package #66

Merged
merged 1 commit into from
Nov 8, 2017
Merged

Conversation

geirlandro
Copy link
Contributor

We're only including core-decorators package for autobind. Most of us prefer the public class fields syntax: something = () => {}.

We're only including core-decorators package for `autobind`. Most of us prefer the public class fields syntax: `something = () => {}`.
@birkir birkir temporarily deployed to starter-kit-universally-pr-66 November 7, 2017 17:12 Inactive
@jeremybarbet
Copy link
Contributor

Is the hot module reload is still working with the arrow functions instead of autobind?

@hrafne
Copy link
Contributor

hrafne commented Nov 8, 2017

HMR for arrow functions looks fine. There was also a problem with this binding in async arrow functions but that seems to be fixed now.

@geirlandro
Copy link
Contributor Author

I believe it was added to react-hot-loader in this PR: gaearon/react-hot-loader#322

@hrafne hrafne merged commit b319518 into development Nov 8, 2017
@hrafne hrafne deleted the remove-core-decorators branch November 8, 2017 13:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants