We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ReactComponent has a var context:Dynamic variable.
ReactComponent
var context:Dynamic
It's better to define it in your ReactComponent subclass as needed, with the right typing.
The text was updated successfully, but these errors were encountered:
Did you take a look at the new context API? (I didn't)
Sorry, something went wrong.
Not in detail but it essentially looks like a HOC for getting the context value. If anything it justifies even more to remove the field.
Should we just add @:deprecated for a few versions? (or until v2.0 with new jsx and without the refs API)
@:deprecated
I have no idea if anyone is actually using it.
Yeah we could mark everything deprecated and remove in a 2.x
No branches or pull requests
ReactComponent
has avar context:Dynamic
variable.It's better to define it in your
ReactComponent
subclass as needed, with the right typing.The text was updated successfully, but these errors were encountered: