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

feat: withUnistyles - accept variants before any native event #440

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

jpudysz
Copy link
Owner

@jpudysz jpudysz commented Dec 15, 2024

Summary

Issue was reported on Discord.
Wrapping a component with withUnistyles that uses variants had no effect because the Unistyle core was not attaching variants to nodes outside of the ShadowRegistry. This PR resolves the issue.

Copy link

vercel bot commented Dec 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-unistyles-2.0 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 15, 2024 6:06am
react-native-unistyles-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 15, 2024 6:06am

@jpudysz jpudysz merged commit 61a7d24 into main Dec 15, 2024
4 checks passed
@jpudysz jpudysz deleted the feature/with-uni-variants branch December 15, 2024 06:06
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.

1 participant