-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Provide way to use single quotes in jsx #1080
Copy link
Copy link
Closed
Labels
lang:jsxIssues affecting JSX (not general JS issues)Issues affecting JSX (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!type:option requestIssues requesting a new option. We generally don’t accept these unless there is technical necessity.Issues requesting a new option. We generally don’t accept these unless there is technical necessity.
Milestone
Metadata
Metadata
Assignees
Labels
lang:jsxIssues affecting JSX (not general JS issues)Issues affecting JSX (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!type:option requestIssues requesting a new option. We generally don’t accept these unless there is technical necessity.Issues requesting a new option. We generally don’t accept these unless there is technical necessity.
I read this comment saying that "I've never seen anyone write
<div className='a' />". Well, here's someone 👋The same way
trailingCommaaccepts a string, we could letsingleQuotedo as well.'all'would use single quotes in js as well as jsx'js'(ortrue) would use single quotes in js but not in jsx'jsx'would use single quotes in jsx but not in js