BuilderIO / hydration-overlay

Overlay for hydration errors with explicit diff between renders.
https://www.builder.io/blog/announcing-react-hydration-overlay
MIT License
500 stars 17 forks source link

Switch component to use idiomatic function definition #34

Closed karlhorky closed 10 months ago

karlhorky commented 10 months ago

The React docs and most official resources use the function keyword as their idiomatic style for components instead of constants with arrow function expressions

changeset-bot[bot] commented 10 months ago

⚠️ No Changeset found

Latest commit: de14de4259ec323b77dee463bf49039ff491718e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

karlhorky commented 10 months ago

Thanks for the review and merge!