vercel / style-guide

Vercel's engineering style guide
Mozilla Public License 2.0
1.28k stars 37 forks source link

Add rule to prevent defining components within components #20

Closed kyh closed 2 years ago

kyh commented 2 years ago

Defining components within a component without a stable reference is a React anti-pattern. There's an existing ESlint rule that can account for this which we can enable

vercel-release-bot commented 2 years ago

:tada: This issue has been resolved in version 4.0.0-canary.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

vercel-release-bot commented 2 years ago

:tada: This issue has been resolved in version 4.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: