Skip to content

Conversation

philipp-spiess
Copy link
Contributor

I discovered this inconsistency that caused the parentheses to appear/disappear when you toggle the "JSX" button. It also seems like we don't use parentheses for arrow functions with one argument, so this PR makes this behavior consistent.

I discovered this inconsistency that caused the parentheses to appear/disappear when you toggle the "JSX" button. It also seems like we don't use parentheses for arrow functions with one argument, so this PR makes this behavior consistent.
@reactjs-bot
Copy link

Deploy preview ready!

Built with commit f7ecd81

https://deploy-preview-198--reactjs.netlify.com

Copy link
Contributor

@bvaughn bvaughn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice polish 👍

@bvaughn bvaughn merged commit b30cdf6 into reactjs:master Oct 23, 2017
@philipp-spiess philipp-spiess deleted the patch-1 branch October 23, 2017 15:27
BetterZxx pushed a commit to BetterZxx/react.dev that referenced this pull request Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants