Browse Source
* Reminder: strip quotes from attributes with JS code Web developers who are used to standards-compliant HTML and XML will, out of habit, put quotes around all attributes because the standards require them. Other templating systems like ASP.NET also require (or at least allow) quotes around attributes that contain code. This behavior will get users into trouble in JSX because a quoted attribute is always treated as a string literal, even if it contains curly-braced javascript code. Let's add to the docs to help newbies evade this problem. * Tweak wordingmain
Justin Grant
8 years ago
committed by
Dan Abramov
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue