Status
@rootnative/web is in early alpha. The API can change between alpha releases. This page lists what exists, so nothing on this site reads as a promise.
The latest release is 0.0.0-alpha.6 on npm. The changelog lists the changes in each release.
What ships today
FlatList renders every item. It has no virtualizer yet, so keep long lists short for now.
Planned, not written
Don't import these yet. They aren't in the package.
- Lists and motion: a virtualizer for
FlatList,SectionList,VirtualizedList,LayoutAnimation, and the rest ofAnimated. - Tooling: a Next.js plugin, and templates for a Vite app with and without server rendering.
Out of scope
- The
react-native-webinternals. Only@rootnative/web-expohas its file layout, for Expo's bundler. - Metro with no Expo. A Metro plugin isn't planned for 1.0.
- React 18, CommonJS, and Flow.
- Props that React Native doesn't have, except a small web-only set. Each page marks a web-only prop.
How it's tested
Every component and API has tests. They run in real browsers through Vitest browser mode, not in a simulated DOM: Chromium, Firefox, and WebKit, the engine of Safari.