Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Change arrow functions to function declarations #8412

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
Contributor

@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
Sign up for free to 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