Update docs for Nativewind v4.2.7 and v5 RC - #86
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The docs still point people at preview dependencies and several v4 APIs that are not exported by the v5 RC. This updates the stable instructions for v4.2.7 and pins the v5 setup to Nativewind 5.0.0-rc.0 with react-native-css 3.1.0-rc.0.
Both migration paths now have their own guide and skill command. The setup includes Worklets, keeps Expo native dependencies aligned, preserves custom configuration, and calls out the checks people need to run in their apps. The installation and migration copy buttons use the updated instructions too.
The API review fixes wrapper usage, SVG prop mapping, runtime variable preservation and system theme restoration. It also removes the copied v4 Next.js recipe from the v5 page, where we do not have a verified RC integration. The compatibility tables no longer claim native support for 62 named utility values the RC rejects. Android animation cancellation and browser image/selection limits are called out on the relevant pages.
Validation:
pnpm buildpasses. Six representative TSX examples typecheck against the published RC packages. Chromium checks pass for installation, both migration guides, API/theme pages, compatibility tables, package manager tabs, both copy buttons and the checked markdown/LLM routes.git diff --checkpasses. V4.2.7 is treated as published for this update. The local commit hook reported that Lefthook was unavailable.This overlaps the focused fixes in #74, #79 and #80; those PRs should be reconciled when reviewing this one. No package dependencies or lockfiles change.
Companion release reference corrections: nativewind/nativewind#1867