feat(modal): run the portal on the web and rebuild the docs site - #310
Conversation
Cloudflare Pages reviewOpen the rebuilt Magic Modal landing
The previous generic V2 preview has been replaced at the same URL so this is the only version to review. |
|
Fresh preview is live at https://pr-310.react-native-magic-modal-preview.pages.dev/react-native-magic-modal/ from source b7bc141. This is the dark GSAP version with practical examples, the proof strip, final copy pass, and the new README demo. Production and merge are untouched. |
|
Final verification on |
…s-v2 # Conflicts: # pnpm-lock.yaml
|
Corrected Cloudflare preview: https://pr-310.react-native-magic-modal-preview.pages.dev/ The earlier hashed upload placed the HTML at the root while its CSS and JS lived under |
|
Final status for |
# Conflicts: # pnpm-lock.yaml
|
Reviewed, verified locally, good to land. Rebased over #309, which brought in the postcss and sharp overrides. The lockfile was regenerated on top of them instead of merged, and Most of the diff is the docs app. The parts that ship to npm are what I went through. The deep import into On web, Dependency arrays go on both The babel plugin moves from
Locally, on the rebased branch
In the browser, against the built
|
|
Nothing to change here. Your landing is built around the package running live The closest overlap is Leaving the pointer here so the next docs site can pull it from the registry. |
# Conflicts: # pnpm-lock.yaml
|
Retitled from The release probe in
Re-verified after
The rating flow still behaves the same through the new copy, and the resolved payload is unchanged: |






What changed
react-native-magic-modalpackage in the page for stacked mobile prompts and an in-place web uploadshow()Why
A large app can open a prompt from many call sites. Repeating the modal tree and visibility state on every screen makes those flows harder to coordinate. A single ordered portal gives every call its own ID and promise, so another prompt can open without replacing or cancelling the one already waiting.
The landing now demonstrates that behavior with the package itself before explaining the API.
Preview
f4fdfa39658cb9765c84f6f9c78869b261e59a79Both preview URLs work from the root and from
/react-native-magic-modal/.Validation
pnpm lintpnpm typecheckpnpm formatpnpm test: 39 package tests and 9 docs testspnpm run doctor: 19/19 Expo checkspnpm run docs: Next.js 16.2.12, 45 pages, 33 HTML files, 515 internal linksexpo export --platform all: iOS, Android, and web production bundlesupdate()flows on desktop and at 390 by 844PASSBoundaries
This PR does not merge itself, publish the npm package, deploy production Pages, or change the custom domain.