Skip to content

Change arrow functions to function declarations #8412

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 3, 2020
Merged

Change arrow functions to function declarations #8412

merged 1 commit into from
Feb 3, 2020

Conversation

lewislbr
Copy link

@lewislbr lewislbr commented Feb 1, 2020

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.
@andriijas andriijas added this to the 3.4 milestone Feb 3, 2020
@andriijas andriijas merged commit 687c4eb into facebook:master Feb 3, 2020
@lewislbr lewislbr deleted the functions-are-defined-inconsistently branch February 3, 2020 15:18
@lock lock bot locked and limited conversation to collaborators Feb 9, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants