Skip to content

Conversation

@thecrypticace
Copy link
Contributor

React.forwardRef should always be marked as pure and doing so can help with tree shaking in some build tools.

Fixes #1171

Copy link
Member

@RobinMalfait RobinMalfait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Shall we do a patch release for this one?

@thecrypticace
Copy link
Contributor Author

sweet — yeah let's do a patch for this one

@thecrypticace thecrypticace merged commit e2e487f into master Jun 17, 2024
@thecrypticace thecrypticace deleted the fix/pure-forward-ref branch June 17, 2024 13:46
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.

Tree-shakable issues when building a library on top of heroicons and vite

3 participants