Skip to content

Change arrow functions to function declarations - #8412

Merged
andriijas merged 1 commit into
react:masterfrom
lewislbr:functions-are-defined-inconsistently
Feb 3, 2020
Merged

Change arrow functions to function declarations#8412
andriijas merged 1 commit into
react:masterfrom
lewislbr:functions-are-defined-inconsistently

Conversation

@lewislbr

Copy link
Copy Markdown

The JavaScript template uses a function declaration to define the App component, the TypeScript template and a page of the documentation used arrow functions. Changed it to use function declarations for consistency and readability.

- The JavaScript template uses a function declaration to define the component, the TypeScript template and a page of the documentation used arrow functions. Changed it to use function declarations for consistency and readability.
@andriijasandriijas added this to the 3.4 milestone Feb 3, 2020
@andriijas
andriijas merged commit 687c4eb into react:masterFeb 3, 2020
@lewislbr
lewislbr deleted the functions-are-defined-inconsistently branch February 3, 2020 15:18
@locklockBot locked and limited conversation to collaborators Feb 9, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@lewislbr@andriijas@facebook-github-bot