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 react preset example stub to functional component #14

Merged
merged 1 commit into from
Aug 13, 2019
Merged

Change react preset example stub to functional component #14

merged 1 commit into from
Aug 13, 2019

Conversation

hpiaia
Copy link
Contributor

@hpiaia hpiaia commented Aug 13, 2019

Changed the Example.js component in react preset stub to a functional component.

Why?

Since React is encouraging functional components over class components, I believe it will be nice to encourage people use it that way in Laravel too.

Create react app also changed it so why don't we follow their steps? ;)

Changed the Example.js component in react preset stub to a functional component.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants