-
Notifications
You must be signed in to change notification settings - Fork 828
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
Chore(ReactVis): Remove String Refs #840
Conversation
Wow, I'm looking forward to see the build pass on this one! |
Thanks @benshope for taking this on! |
@radumiron yea I pushed this branch before checking the tests, I'll fix those! |
@jckr should I use normal methods instead of arrow functions for perf reasons? |
Using arrow function vs explicit functions shouldn't change anything right? It's all passed through babel and transpiled into straight old fashioned js |
@mcnuttandrew yea I guess it's probably fine here. I had read a few headlines about arrow functions in |
Yea seems good! This feels like this might be a kinda significant change, so maybe do a minor bump |
@benshope the issue is not with arrow functions in Doesn't matter if it's an arrow func or pre-ES6 inline func, just that it's declared within Ideally, callbacks-as-props are declared once, as a member of the React class or outside of the class def, and params are passed to it. This is not always possible, i.e. when context from within |
I just ran into #736 and this will probably fix it