-
Notifications
You must be signed in to change notification settings - Fork 47k
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
Let's stop attribute blocking! #10126
Comments
React says
Um, but I want those props there. Come on React! Don't be an attribute blocker! Let my attributes be happy. |
trusktr
changed the title
Please stop whitelisting attributes for DOM nodes.
Stop attribute blocking!
Jul 8, 2017
@nhunzaker Great to hear. THanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I write this JSX:
and I get
and React prevents the attributes from appearing in the DOM.
This means React will not always play nice with elements whose behaviors are defined by
In the above example, I could use jQuery or Angular to define routines that observe those attributes, and render a 3D WebGL scene in a separate canvas.
If an author wants to animate the sphere, they will not be able to, and my Angular or jQuery routine will not find the required attributes.
Please uplift this limitation! Don't limit the web!
The text was updated successfully, but these errors were encountered: