necolas/react-native-web
48.2
Weak · 15 November 2026
19.2k
lines of production code
JavaScript
primary language
5
measurements over time
What this system is
Features
Add AccessibilityInfo API stubs for screen reader and reduced motion detection
The AccessibilityInfo module now provides stub implementations for querying accessibility settings, specifically adding support for detecting whether the user prefers reduced motion via the \isReduceMotionEnabled\ method and the \reduceMotionChanged\ event listener. It also exposes \isScreenReaderEnabled\ (aliased as the deprecated \fetch\) and placeholder methods for \setAccessibilityFocus\ and \announceForAccessibility\, allowing React Native Web applications to access these accessibility features with graceful fallbacks when DOM APIs are unavailable.
packages/react-native-web/src/exports/AccessibilityInfo · high confidence
Add Appearance module for color scheme detection
The Appearance module is now available, allowing users to detect the system's preferred color scheme (light or dark) via \getColorScheme()\ and subscribe to changes using \addChangeListener()\. This implementation leverages the browser's \prefers-color-scheme\ media query and is marked with 'use client' to ensure compatibility with React Server Components. Also in this area: 1 commit (0 fixes) modifying (repo-wide); New Appearance.setColorScheme API and PlatformColor support.
packages/react-native-web/src/exports/Appearance · low confidence · unverified
Add CSS Modules implementation for benchmark components
The benchmark suite now includes a new implementation using CSS Modules for styling. This adds specific React components (Box, Dot, View, Provider) and their corresponding scoped CSS files (box-styles.css, dot-styles.css, view-styles.css) to the \packages/benchmarks/src/implementations/css-modules\ directory, allowing performance comparisons against other styling approaches.
packages/benchmarks/src/implementations/css-modules · high confidence
Add I18nManager export with RTL support
The I18nManager module is now exported from react-native-web, providing allowRTL, forceRTL, and getConstants methods. This enables applications to manage right-to-left (RTL) layout directionality, with getConstants currently returning isRTL as false by default.
packages/react-native-web/src/exports/I18nManager · high confidence
Add InteractionManager and isUnitlessNumber modules
The library introduces the InteractionManager module, which schedules tasks to run asynchronously after user interactions complete using requestIdleCallback, and the isUnitlessNumber utility, which identifies CSS properties that do not require units. These additions support internal React Native compatibility features, including task queuing and cancellation logic, while a pre-commit hook is added to enforce linting on staged files.
.husky, packages/react-native-web/src/modules/InteractionManager, packages/react-native-web/src/modules/isUnitlessNumber · high confidence
Add Keyboard.isVisible() method
The Keyboard module now exposes a \isVisible()\ method, allowing users to programmatically check the current visibility state of the keyboard. While the current implementation returns \false\ as a placeholder, this API aligns with the standard React Native Keyboard interface and prepares the module for future integration with virtual keyboard APIs.
packages/react-native-web/src/exports/Keyboard · high confidence
Add NativeEventEmitter export
The package now exports NativeEventEmitter, re-exporting the implementation from the internal vendor directory to make it available for use.
packages/react-native-web/src/exports/NativeEventEmitter · high confidence
Add PlatformColor support for system colors
React Native Web now supports the PlatformColor API, allowing components to use system-defined colors that adapt to the user's OS theme (e.g., dark mode). This is implemented via a new systemColors module that maps CSS system color values and handles browser compatibility through CSS custom properties. Additionally, the build process has been updated to define process.env.NODE\_ENV as 'production' during minification, ensuring optimized production builds.
packages/react-native-web/src/exports/PlatformColor, packages/react-native-web/src/modules/systemColors · high confidence
Add SafeAreaView component with iOS 11 CSS constant support
Users now have access to a new SafeAreaView component that automatically applies padding based on the device's safe area insets. The implementation detects browser support for the legacy iOS 11 CSS \constant\ function and falls back to the standard \env\ function, ensuring correct layout on older iOS Safari versions as well as modern browsers.
packages/react-native-web/src/exports/SafeAreaView · high confidence
Add Share API for web sharing
The Share module is now available in react-native-web, allowing applications to trigger the native web share dialog via the Web Share API when supported by the browser. The implementation validates that content includes a URL or message, maps the React Native content structure to the browser's expected format, and provides constants for shared and dismissed actions. Also in this area: 1 commit (0 fixes) modifying (repo-wide).
packages/react-native-web/src/exports/Share · low confidence · unverified
Add VirtualizedList export for React Server Components support
The VirtualizedList component is now exported from react-native-web with a 'use client' directive, enabling its use in React Server Components environments. This change ensures that the VirtualizedList component is treated as a client component, allowing it to function correctly in server-side rendering contexts where client-side interactivity is required.
packages/react-native-web/src/exports/FlatList, packages/react-native-web/src/exports/SectionList, packages/react-native-web/src/exports/VirtualizedList · high confidence
Add inline-styles benchmark implementation
The benchmark suite now includes a new 'inline-styles' implementation, providing a set of React components (Box, Dot, View, and Provider) that render elements using inline CSS styles. This addition allows users to compare the performance of this specific styling approach against other implementations in the benchmark suite.
packages/benchmarks/src/implementations/inline-styles · high confidence
Add interactive examples app for documentation
The repository now includes a new Next.js-based application in the \packages/react-native-web-examples\ directory that serves as an interactive showcase for React Native for Web components. This app provides a structured set of pages and shared UI elements (such as a reusable Button and Example wrapper) that allow users to view and test React Native components in a web environment, supporting the documentation website with live, runnable examples. Also in this area: Standardized prop spreading in benchmark and example components; Enable scrolling on the examples home page and individual example views.
packages/react-native-web-examples/shared · high confidence
Add isSelectionValid module to validate text selection
A new isSelectionValid module has been added to the React Native Web source code. This utility checks the current browser text selection to determine if it is valid for interaction, returning true only when a selection exists, contains at least one character (excluding newlines), and involves text nodes.
packages/react-native-web/src/modules/isSelectionValid · high confidence
Add isTesting and Version properties to Platform module
The Platform module now exposes two new read-only properties: \isTesting\, which returns true when the application is running in a test environment (detected via \process.env.NODE\_ENV\), and \Version\, which currently returns a placeholder string '0.0.0'. These additions allow developers to conditionally render or behave differently during testing and to access the library's version number.
packages/react-native-web/src/exports/Platform · high confidence
Add layout measurement and selection validation utilities
The library now includes two new utility modules: \getBoundingClientRect\ for measuring the layout of DOM elements, and \isSelectionValid\ for validating text selection state. These utilities provide foundational support for accurate layout calculations and text interaction handling within the React Native Web environment.
packages/react-native-web/src/modules/getBoundingClientRect · high confidence
Add locale context provider and RTL detection utility
Introduces a new \useLocale\ module that provides a React context (\LocaleProvider\ and \useLocaleContext\) for managing locale and writing direction, along with an \isLocaleRTL\ utility to determine if a locale is right-to-left. The RTL detection logic prioritizes the \Intl.Locale\ API for script-based detection, falling back to a hardcoded list of known RTL languages and scripts if the API is unavailable or the locale is invalid, ensuring robust handling of invalid locale strings without throwing errors. Also in this area: 1 commit (0 fixes) modifying (repo-wide).
packages/react-native-web/src/modules/useLocale · low confidence · unverified
Add multiplyStyleLengthValue utility for CSS unit preservation
A new utility function, multiplyStyleLengthValue, has been added to the react-native-web modules. This function allows style length values to be multiplied by a scalar while preserving their CSS units (such as px, rem, em, or %). It handles both numeric inputs and string inputs containing units, ensuring that calculations like scaling a font size or dimension maintain the correct unit suffix in the resulting style value.
packages/react-native-web/src/modules/multiplyStyleLengthValue · high confidence
Add requestIdleCallback polyfill for environments lacking native support
The library now includes a dedicated module for \requestIdleCallback\ and \cancelIdleCallback\. In browsers that do not natively support these APIs, the module provides a fallback implementation that schedules callbacks using \setTimeout\ with a 1ms delay, simulating idle time behavior. This ensures consistent asynchronous scheduling across different browser environments.
packages/react-native-web/src/modules/requestIdleCallback · high confidence
Add styleq and stylesheet benchmark implementations
Added new benchmark implementation files for the 'styleq' and 'stylesheet' styling approaches within the benchmarks package. The 'styleq' implementation introduces components (Box, Dot, View, Provider) that utilize the styleq library for CSS-in-JS styling, while the 'stylesheet' implementation provides equivalent components using react-native-web's StyleSheet API, enabling performance comparison between these two styling methodologies.
packages/benchmarks/src/implementations/styleq · high confidence
Add useAnimatedColor hook for managing animated colors
The \useAnimatedColor\ hook is now available in \react-native-web\, allowing components to create and manage \Animated.Color\ instances. It accepts either an RGB/A object or a color string (e.g., 'red') as input and returns a stable \Animated.Color\ reference across re-renders, ensuring consistent animated color behavior.
packages/react-native-web/src/exports/useAnimatedColor · high confidence
Add useAnimatedValue hook for stable animated values
A new \useAnimatedValue\ hook is now available in \react-native-web\, allowing components to create an \Animated.Value\ that persists across re-renders. This enables developers to maintain a stable animated value instance without needing to manage refs manually, ensuring the value remains consistent even when the component updates.
packages/react-native-web/src/exports/useAnimatedValue · high confidence
Add useAnimatedValueXY hook for 2D animated values
The library now exports a \useAnimatedValueXY\ hook that returns an \Animated.ValueXY\ instance initialized with the provided \x\ and \y\ values. This hook ensures instance stability across re-renders, allowing developers to manage 2D animated coordinates in React Native Web applications. The implementation accepts an optional configuration object, though native driver support is explicitly noted as unavailable on the web platform.
packages/react-native-web/src/exports/useAnimatedValueXY · high confidence
Add useWindowDimensions hook for React Server Components
A new \useWindowDimensions\ hook has been added to the exports, allowing components to access current window dimensions and react to resize events. The hook is marked with 'use client' to ensure compatibility with React Server Components, providing a server-safe way to consume the existing Dimensions API. Also in this area: Image component now supports 'src' prop and exposes 'resolveAssetSource' API; New Appearance.setColorScheme API and PlatformColor support.
packages/react-native-web/src/exports/useWindowDimensions · high confidence
Added Alert API stub
A new Alert module has been added to the React Native Web exports, providing a stub implementation of the Alert API. This allows applications using React Native Web to call Alert.alert() without errors, though the current implementation does not display any actual UI or native alerts.
packages/react-native-web/src/exports/Alert · high confidence
Added Sierpinski Triangle and Tree benchmark cases
The benchmarks package now includes two new test cases: SierpinskiTriangle, which measures UPDATE performance by recursively rendering colored dots with randomized colors to prevent caching, and Tree, which measures MOUNT performance by rendering nested Box components with varying layouts and wrapping. These additions expand the suite of visual benchmarks available for performance testing.
packages/benchmarks/src/cases · high confidence
Added useStable hook for stable initial values
A new \useStable\ hook has been added to the \react-native-web\ library. This hook accepts an initializer callback and returns a value that is computed only once, ensuring the result remains stable across subsequent renders even if the component re-renders. This provides a mechanism for maintaining stable initial state or derived values without the overhead of \useMemo\ or manual ref management for initialization-only logic. Also in this area: 1 commit (0 fixes) modifying packages/react-native-web/src/modules/useStable.
packages/react-native-web/src/modules/useStable · low confidence · unverified
Expose LayoutAnimation via dedicated export path
Users can now import the LayoutAnimation component directly from the \react-native-web\ package using the \LayoutAnimation\ export path. This change adds a new entry point that re-exports the underlying vendor implementation, making the API more accessible and consistent with standard React Native usage patterns.
packages/react-native-web/src/exports/LayoutAnimation · high confidence
Initial implementation of KeyboardAvoidingView for React Native Web
The KeyboardAvoidingView component is now available in react-native-web, allowing users to automatically adjust the layout of their views when the on-screen keyboard appears. This new export supports standard behaviors such as adjusting height, padding, or position, and includes a keyboardVerticalOffset prop for fine-tuning the adjustment. The component is implemented as a class-based React component that tracks its layout to calculate the relative keyboard height, ensuring that input fields remain visible during keyboard interactions.
packages/react-native-web/src/exports/KeyboardAvoidingView · high confidence
Initial release of dom-event-testing-library for simulating DOM pointer and touch events
This change introduces the \dom-event-testing-library\ package, providing utilities to simulate complex browser event sequences in tests. It includes a \createEventTarget\ helper that dispatches high-level pointer interactions (such as \pointerdown\, \pointermove\, \pointerhover\, and \pointerup\) which automatically generate the underlying sequences of PointerEvents, MouseEvents, and TouchEvents. The library also supports simulating touch gestures, context menus, and keyboard events, while offering environment controls to toggle PointerEvent support and mock the host platform (macOS vs. Windows) for cross-platform testing.
packages/dom-event-testing-library/src · high confidence
Introduce Babel plugin to rewrite React Native imports to React Native Web
A new Babel plugin has been added to automatically rewrite imports and requires from 'react-native' (or 'react-native-web') to the corresponding paths in 'react-native-web'. The plugin supports ES6 import/export syntax and CommonJS require calls, mapping specific modules (such as View, Text, Pressable, and useWindowDimensions) to their dist/exports equivalents, while falling back to the main index for unmapped or default imports. This enables developers to use React Native APIs in web environments by transforming the module resolution at build time.
packages/babel-plugin-react-native-web/src · high confidence
Introduction of Flow type definitions for styles and platform methods
The library now includes explicit Flow type definitions in \packages/react-native-web/src/types\, introducing structured types for style properties (such as \AnimationStyles\, \BorderStyles\, \LayoutStyles\, and \InteractionStyles\) and a \PlatformMethods\ interface for element measurement and focus management. This addition provides stricter type checking for style props and platform-specific APIs, improving developer experience and reducing runtime errors related to style values and layout callbacks. Also in this area: 1 commit (0 fixes) modifying (repo-wide).
packages/react-native-web/src/types · low confidence · unverified
Introduction of UnimplementedView stub component
A new UnimplementedView component has been added to the library, serving as a stubbed view that renders a standard View with a red border in non-production environments to visually indicate unimplemented features, while rendering as a standard View in production builds.
packages/react-native-web/src/modules/UnimplementedView · high confidence
Introduction of dismissKeyboard module
The library now includes a new \dismissKeyboard\ module located in \packages/react-native-web/src/modules/dismissKeyboard\. This module provides a \dismissKeyboard\ function that programmatically dismisses the currently focused input field by invoking \TextInputState.blurTextInput\ on the active field, offering a standard API for managing keyboard state in web-based React Native applications.
packages/react-native-web/src/modules/dismissKeyboard · high confidence
Introduction of useEvent hook for flexible event handling
The \useEvent\ hook is now available in \packages/react-native-web/src/modules/useEvent\, providing a reusable mechanism to attach and manage event listeners on any DOM target. This hook accepts an event type and optional configuration (capture, passive, once), returning a function that allows setting or clearing listeners on specific targets, with automatic cleanup of all attached listeners when the hook unmounts.
packages/react-native-web/src/modules/useEvent · high confidence
New Modal component with animations, focus trapping, and portal support
The Modal component is now available in react-native-web, providing a robust implementation for displaying overlay content. It supports slide and fade animations, traps keyboard focus within the modal to prevent interaction with background elements, and uses a DOM portal to render outside the normal document flow. The component also handles accessibility features like Escape key dismissal and restores focus to the trigger element upon closing. Also in this area: 1 commit (0 fixes) modifying (repo-wide); 3 commits (3 fixes) fixing packages/react-native-web; Image component now supports 'src' prop and exposes 'resolveAssetSource' API.
packages/react-native-web/src/exports/Modal · low confidence · unverified
New Next.js-based interactive examples app
The repository now includes a new \packages/react-native-web-examples\ directory that serves as an interactive showcase for documentation. This example app is built with Next.js and configured to resolve \react-native\ imports to \react-native-web\, allowing users to view live React Native components rendered in the browser.
packages/react-native-web-examples · high confidence
New PixelRatio and TextInputState modules introduced
The library now includes dedicated modules for device pixel density handling and text input focus management. The new PixelRatio module provides static methods to retrieve the device pixel scale, font scale, and convert layout sizes to pixel values, ensuring accurate rendering on high-DPI displays. Additionally, the TextInputState module manages the focused state of text fields, coordinating focus and blur actions through the UIManager to keep the internal state synchronized with the DOM's active element. Also in this area: 1 commit (0 fixes) modifying (repo-wide).
packages/react-native-web/src/modules/TextInputState · low confidence · unverified
New React Native Web benchmark implementation
A new benchmark implementation for React Native Web has been added to the suite, providing components (Box, Dot, Provider, View) to measure rendering performance. The Dot component specifically utilizes the unstable\_createElement API from react-native, while other components use standard React Native primitives and StyleSheet for styling.
packages/benchmarks/src/implementations/react-native-web · high confidence
New Responder Event System and Layout Hook
This change introduces the Responder Event System, a gesture management system that provides a global interaction lock for views, allowing them to negotiate exclusive pointer interaction rights via callbacks like \onStartShouldSetResponder\ and \onResponderGrant\. It includes the \useResponderEvents\ hook for integrating this system into React components, along with supporting modules for touch history tracking (\ResponderTouchHistoryStore\) and event normalization. Additionally, a new \useElementLayout\ hook is added to handle view layout changes using the browser's \ResizeObserver\ API, ensuring accurate layout events even when browsers do not provide border-box dimensions directly. Also in this area: Replace custom useLayoutEffect with React's native hook. Also in this area: 1 commit (0 fixes) modifying (repo-wide).
packages/react-native-web/src/modules/useElementLayout, packages/react-native-web/src/modules/useResponderEvents · low confidence
New TypeScript definitions for react-native-web
This release introduces a new \types\ directory containing TypeScript declaration files (\index.d.ts\ and \react-native-web.d.ts\) that augment \react-native\ types with web-specific props and styles. For users, this provides native TypeScript support for react-native-web, enabling type checking for web-specific accessibility attributes (ARIA), mouse and wheel events, and new features like \PlatformColor\ and \title\ properties. The definitions also expose web-specific APIs such as \unstable\_createElement\ with rest parameters for children, \useAnimatedColor\, \useAnimatedValueXY\, and specific \AppRegistry\ and \StyleSheet\ signatures.
packages/react-native-web/types · high confidence
New addEventListener module for DOM event handling
A new \addEventListener\ module has been introduced in \packages/react-native-web/src/modules/addEventListener\ to provide a shim for DOM event handling that is compatible with React DOM's synthetic events. This module allows developers to attach event listeners to DOM nodes, the document, or the window, supporting options such as \capture\, \passive\, and \once\. It normalizes events to include \nativeEvent\, \persist\, \isDefaultPrevented\, and \isPropagationStopped\ properties, ensuring consistency with React's event system while avoiding the overhead of a full synthetic event wrapper. Tests confirm correct behavior for event bubbling, capturing, and removal. Also in this area: 1 commit (0 fixes) modifying (repo-wide).
packages/react-native-web/src/modules/addEventListener · low confidence · unverified
New benchmarks package for performance regression testing
A new \packages/benchmarks\ directory has been added to the repository, providing a dedicated environment for monitoring performance regressions. This includes a Webpack-based build configuration (\webpack.config.js\) that bundles the benchmark suite, an entry point (\index.html\), and documentation (\README.md\) explaining the test cases (such as mounting deep/wide trees and updating dynamic styles) and how to run them locally. The package also includes an MIT \LICENSE\ file and initial benchmark result tables for reference.
packages/benchmarks · high confidence
New internal build and release automation scripts
Added three new Node.js scripts to the repository: \createModuleMap.js\ generates an automatic map of exported modules for the Babel plugin to optimize path rewriting; \minifyDist.js\ minifies JavaScript distribution files in place (triggered by the \MINIFY=true\ environment variable) to enable accurate compressed-size measurements in CI; and \releasePackages.js\ automates the versioning, git tagging, and npm publishing of react-native-web workspaces, requiring an OTP code for authentication.
scripts · high confidence
New mergeRefs utility for combining multiple React refs
The mergeRefs module has been added to provide a utility for merging multiple React refs (function refs, object refs, or a mix) into a single ref callback. This allows components to accept and forward multiple refs simultaneously, ensuring that all provided refs are updated with the same DOM node instance. The implementation handles null checks and logs errors for unsupported ref types like booleans, numbers, or strings.
packages/react-native-web/src/modules/mergeRefs · high confidence
Architecture
Repository restructured as a development monorepo
The project has been reorganized into a monorepo structure to manage 'React Native for Web' and related packages. The repository now includes a \packages\ directory for individual components, a \configs\ directory for build and linting settings, and a \scripts\ directory for utility tasks. GitHub Actions workflows have been added to \.github\ for continuous integration, and the root \README.md\ has been updated to document the new structure and development tasks such as building and testing specific packages.
(repo-wide) · high confidence
Behavioural changes
12 commits (2 fixes) modifying packages/react-native-web/src/modules/forwardedProps
A change to existing behaviour in packages/react-native-web/src/modules/forwardedProps — 12 commits (2 fixs), 1 file: “Simplify createDOMProps prop handling”; “\[change\] Remove deprecated accessibility APIs”; “Update copyright headers”; and 9 more (refs \#2957, \#2938, \#2803).
packages/react-native-web/src/modules/forwardedProps · medium confidence · unverified
2 commits (0 fixes) modifying packages/react-native-web/src/modules/setPlatformMethods
A change to existing behaviour in packages/react-native-web/src/modules/setPlatformMethods — 2 commits, 1 file: “Replace usePlatformMethods hook with a setPlatformMethods ref callback”; “Upgrade Flow to 0.339 and make types more precise (\#2963)” (refs \#2963).
packages/react-native-web/src/modules/setPlatformMethods · medium confidence · unverified
6 commits (1 fix) modifying packages/react-native-web/src/modules/pick
A change to existing behaviour in packages/react-native-web/src/modules/pick — 6 commits (1 fix), 1 file: “\[change\] Remove deprecated accessibility APIs”; “\[change\] Remove 'accessibilityRelationship'; add 'dataSet'”; “\[0.22\] First batch of breaking changes”; and 3 more (refs \#2963).
packages/react-native-web/src/modules/pick · medium confidence · unverified
Add CSS style application module with unit handling and custom property support
The \setValueForStyles\ module has been added to handle applying style objects to DOM nodes. It now automatically appends 'px' to numeric values for non-unitless CSS properties, supports CSS custom properties (variables) via \setProperty\, and correctly maps the 'float' style to 'cssFloat'. Also in this area: 1 commit (0 fixes) modifying packages/react-native-web/src/modules/multiplyStyleLengthValue, packages/react-native-web/src/modules/setValueForStyles.
packages/react-native-web/src/modules/setValueForStyles · low confidence · unverified
Added hover state support for Pressable components
The \useHover\ hook in \packages/react-native-web/src/modules/useHover\ has been implemented to enable hover state detection for interactive elements. This change introduces support for \onHoverStart\, \onHoverEnd\, \onHoverChange\, and \onHoverUpdate\ callbacks, allowing components like \Pressable\ to react to mouse pointer entry and exit. The implementation distinguishes between mouse and touch inputs (ignoring touch for hover states) and supports a \contain\ option to manage hover persistence when the pointer moves between child elements, along with a \disabled\ option to suppress hover events. Also in this area: Simplified hover behavior and removed deprecated options; Update test assertions to Jest v30 API.
packages/react-native-web/src/modules/useHover, packages/react-native-web/src/modules/useHover/\\tests\\_ · high confidence_
AppState addEventListener now returns a subscription object for removal
The AppState module's addEventListener method now returns a subscription object that includes a remove() method, allowing developers to cleanly unsubscribe from 'change' events. This replaces the previous behavior where the return value was undefined, aligning the API with standard React Native expectations for event listener management.
packages/react-native-web/src/exports/AppState · high confidence
BackHandler now logs a console error on web instead of failing silently
The BackHandler module in react-native-web has been updated to explicitly warn developers when its methods are used on the web platform. Previously, methods like addEventListener and removeEventListener were no-ops; now, addEventListener logs a console.error stating that BackHandler is not supported on web, helping developers identify unsupported API usage more clearly while maintaining backward compatibility by returning a valid remove function.
packages/react-native-web/src/exports/BackHandler · high confidence
Button component now supports focusable prop and removes deprecated props
The Button component in react-native-web has been modernized to include a new \focusable\ prop, which is passed through to the underlying TouchableOpacity to control keyboard accessibility. Additionally, deprecated props have been removed from the component's API, and internal PropTypes exports have been cleaned up. The component remains available but is marked as deprecated in favor of using Pressable directly.
packages/react-native-web/src/exports/Button · high confidence
Clipboard module restructured with line-break preservation and availability caching
The Clipboard module in react-native-web has been reorganized to support React Server Components via the 'use client' directive and now caches the result of isAvailable() to avoid redundant browser capability checks. Additionally, the setString implementation preserves line breaks by applying whiteSpace: 'pre-wrap' to the temporary selection node, fixing previous edge cases where text formatting was lost during copy operations.
packages/react-native-web/src/exports/Clipboard · high confidence
Default export of useLocaleContext hook
The useLocaleContext hook is now exported as the default export from the useLocaleContext module. This change simplifies import syntax for consumers of the library, allowing them to import the hook directly without needing to use a named import syntax.
packages/react-native-web/src/exports/useLocaleContext · high confidence
Deprecated TouchableHighlight component implementation
The TouchableHighlight component in react-native-web has been updated to a new implementation that relies on the internal usePressEvents hook and useMergeRefs utility. This change introduces a 'use client' directive, indicating support for React Server Components, and explicitly manages focus and pointer events based on the disabled state. While the component remains available, it is deprecated in favor of the Pressable component, as indicated by the surrounding commit history.
packages/react-native-web/src/exports/TouchableHighlight · high confidence
Deprecated TouchableWithoutFeedback with ref forwarding and Pressable migration warning
The TouchableWithoutFeedback component has been restructured to properly forward refs to both the host element and its child, ensuring that ref callbacks are invoked as expected. The component now emits a deprecation warning advising users to migrate to Pressable, while maintaining backward compatibility by mapping existing props (such as delayPressIn, onPress, and accessibility attributes) to the underlying press event system.
packages/react-native-web/src/exports/TouchableWithoutFeedback · high confidence
Dimensions module now uses visualViewport for accurate iOS keyboard handling
The Dimensions module in react-native-web has been updated to use the VisualViewport API on iOS devices, ensuring that window height and width dimensions correctly reflect changes when the on-screen keyboard opens or closes. This change also introduces debouncing for change listeners to prevent excessive style recalculation on pageload and ensures that addEventListener returns a proper subscription object for cleanup. Additionally, the module now accounts for window zoom levels by multiplying visualViewport dimensions by the scale factor, aligning behavior with standard documentElement client dimensions.
packages/react-native-web/src/exports/Dimensions · high confidence
Docs site rebuilt with Eleventy v3 and a new design system
The documentation website has been rebuilt using Eleventy v3, introducing a redesigned layout with a responsive navigation drawer, a dark mode that respects system preferences, and a new visual identity. The site now includes a dedicated 404 page, a home page with an embedded example app, and a structured API reference. The appearance of the documentation now supports overriding the color scheme via the Appearance API, and the site displays the current package version dynamically.
packages/react-native-web-docs/src · high confidence
Export DeviceEventEmitter from react-native-web
The DeviceEventEmitter is now explicitly exported from the react-native-web package, re-exporting the internal RCTDeviceEventEmitter implementation. This allows consumers to import and use the device event emitter directly from the package, aligning with React Native's standard API surface.
packages/react-native-web/src/exports/DeviceEventEmitter · high confidence
Image component modernization with new props and deprecations
The Image component has been refactored to support new props including blurRadius, tintColor, and shadows, while deprecating the use of resizeMode and tintColor within the style prop (users should now use the component props instead). The component also introduces a queryCache API for checking cached images and ensures that images are not draggable by default. Additionally, it now properly handles SVG base64 data and prevents constant reloading when the source is provided as an object.
packages/react-native-web/src/exports/Image · high confidence
Introduce Eleventy-based static site generator for documentation
The documentation site now uses Eleventy (v3) to generate static pages from Markdown sources. This change adds a dedicated configuration file (\eleventy.config.js\) that sets up navigation, syntax highlighting, SVG handling, and content filters, while also including the project's MIT license and a README describing the new static site generator setup.
packages/react-native-web-docs · high confidence
Introduce useMergeRefs hook for optimized ref merging
Added a new useMergeRefs hook in the react-native-web modules that wraps the existing mergeRefs utility. This hook memoizes the merged ref callback using React.useMemo to prevent unnecessary recalculations when the referenced elements do not change, improving performance for components that manage multiple refs.
packages/react-native-web/src/modules/useMergeRefs · high confidence
Linking API now supports event listeners and configurable link targets
The Linking module has been updated to support event-driven navigation tracking and more flexible link opening behavior. Users can now subscribe to navigation events using \Linking.addEventListener\ and unsubscribe via the returned subscription object's \remove()\ method, replacing the deprecated \removeEventListener\ static method. Additionally, \Linking.openURL\ now accepts an optional second argument to specify the browser tab target (defaulting to \\_blank\), and specifically handles \tel:\ links by navigating the current window instead of opening a new tab.
packages/react-native-web/src/exports/Linking · high confidence
Localized text direction handling in element creation
The createElement function now automatically wraps elements with a specific writing direction (dir) in a LocaleProvider. This ensures that the locale context, including the language and text direction, is correctly propagated to child components when the element's props indicate a specific direction, improving accessibility and layout for internationalized content.
packages/react-native-web/src/exports/createElement · high confidence
Migrate example app to Next.js with new page structure
The interactive examples have been restructured to run on Next.js, introducing a new \_document.js entry point that integrates React Native's AppRegistry for server-side rendering. A comprehensive set of new page components has been added to demonstrate core APIs, including ActivityIndicator, Animated, AppRegistry, AppState, CheckBox, Clipboard, Dimensions, FlatList, Image, ImageBackground, Linking, Lists, Localization, Modal, and PanResponder.
packages/react-native-web-examples/pages · high confidence
Modernized ActivityIndicator implementation and TouchableNativeFeedback deprecation
The ActivityIndicator component has been rewritten to use a modern React functional component with explicit prop forwarding and CSS keyframe animations for the loading spinner, replacing the previous implementation. It now supports 'small' and 'large' sizes, custom colors, and controls for animation state. Additionally, TouchableNativeFeedback is now marked as unimplemented, returning a placeholder view instead of providing native feedback functionality.
packages/react-native-web/src/exports/ActivityIndicator · high confidence
Modernized AppRegistry with React 18+ root APIs and hydration support
The AppRegistry module has been restructured to support modern React rendering patterns, including React Server Components and hydration. The entry point now uses React 18's \createRoot\ and \hydrateRoot\ APIs (via \react-dom/client\) instead of legacy renderers, enabling concurrent mode and server-side rendering hydration. A new \AppContainer\ component wraps applications, providing a \RootTagContext\ and supporting custom wrapper components. The \renderApplication\ function now accepts a \hydrate\ option to toggle between rendering and hydration modes, and \unmountComponentAtNode\ has been updated to call the root's \unmount\ method. These changes improve compatibility with React 18+ features and enable SSR scenarios.
packages/react-native-web/src/exports/AppRegistry · high confidence
Modernized ImageBackground component with ref forwarding and style handling
The ImageBackground component has been rewritten to use React's forwardRef API, allowing refs to be properly forwarded to the underlying View and Image elements. It now explicitly handles width and height styles by proxying them to the background Image to work around current implementation limitations, ensuring that container styles are applied correctly. The component also includes updated type definitions and a new test suite verifying correct rendering of children, image styles, and container styles.
packages/react-native-web/src/exports/ImageBackground · high confidence
Modernized image loading with decode() and caching improvements
The ImageLoader module has been updated to use the native image.decode() API for better performance and to handle SVG decoding errors gracefully in Safari iOS 11, falling back to setTimeout when decode is unavailable. Additionally, the module now includes an ImageUriCache to manage image references and prevent memory leaks by cleaning up unused entries when the cache reaches its limit.
packages/react-native-web/src/modules/ImageLoader · high confidence
New accessibility utility module for mapping React Native props to ARIA roles
A new \AccessibilityUtil\ module has been introduced to handle the translation of React Native accessibility props into web-standard ARIA attributes. This module includes logic to determine if an element is disabled based on \accessibilityStates\, maps \accessibilityRole\ values to corresponding ARIA roles (such as mapping 'button' to 'button' or 'image' to 'img'), and converts roles into specific HTML semantic elements (e.g., mapping 'heading' to \h1\ or \h2\ based on \accessibilityLevel\). This change centralizes accessibility prop handling, ensuring that components like images and labels receive appropriate ARIA roles and that semantic HTML structure is generated based on accessibility roles.
packages/react-native-web/src/modules/AccessibilityUtil · high confidence
Pressable component now supports hover states and keyboard interaction
The Pressable component has been updated to include support for hover states via new onHoverIn and onHoverOut callbacks, allowing components to react to mouse hover events. Additionally, it now supports the onKeyDown prop, enabling keyboard-based interactions to be handled directly within the component. These changes enhance the accessibility and interactivity of Pressable elements by aligning them more closely with standard web interaction patterns.
packages/react-native-web/src/exports/Pressable · high confidence
ProcessColor now uses @react-native/normalize-colors for consistent color handling
The processColor utility in react-native-web has been updated to rely on the @react-native/normalize-colors package, ensuring that color processing behavior aligns more closely with standard React Native. This change affects how color strings and numbers are converted into 32-bit integer representations, providing a more standardized approach to color normalization across the library.
packages/react-native-web/src/exports/processColor · high confidence
Re-export PanResponder from vendor directory
The PanResponder module is now re-exported from the internal vendor directory (\../../vendor/react-native/PanResponder\) rather than being defined directly in the exports folder. This change reorganizes the module structure to centralize React Native compatibility code within the vendor directory while maintaining the public API surface for consumers.
packages/react-native-web/src/exports/PanResponder · high confidence
Redefines the react-native-web public API surface
The package entry point has been reorganized to explicitly export a curated set of React Native APIs, components, and hooks for web. This change introduces new exports including the Share and Alert APIs, the LogBox diagnostic tool, the InputAccessoryView component, and the useWindowDimensions hook, while removing deprecated or platform-specific modules like ListView, ART, and various IOS-specific components. Users will now interact with a standardized, web-optimized API surface that replaces the previous default ES module export and internal PropTypes usage.
packages/react-native-web/src · high confidence
RefreshControl and StatusBar converted to function components
The RefreshControl and StatusBar modules have been refactored from class-based implementations to function components. RefreshControl now renders a View and accepts standard props (such as refreshing, onRefresh, and tintColor) while ignoring unsupported properties, and StatusBar is implemented as a no-op component with stub methods to maintain API compatibility without affecting the web UI.
packages/react-native-web/src/exports/RefreshControl · high confidence
Reorganize Animated and Easing exports for React Server Components support
The Animated and Easing modules have been restructured to support React Server Components. The Animated export now includes the 'use client' directive, ensuring it runs in the client environment, while the Easing export remains a standard server-compatible module. This change aligns the module organization with React's new rendering model.
packages/react-native-web/src/exports/Animated · high confidence
Rewritten Benchmark component with forced layout timing support
The Benchmark component in the benchmarks app has been rewritten to support measuring forced layout times. The new implementation includes dedicated modules for timing (using high-resolution performance.now()), mathematical statistics (mean, median, standard deviation), and strict Flow types. A key behavioral change is the addition of a \forceLayout\ prop; when enabled, the benchmark forces a style recalculation during each sample cycle by accessing \document.body.offsetWidth\, allowing users to measure performance impact of layout thrashing alongside standard mount/update/unmount cycles.
packages/benchmarks/src/app/Benchmark · high confidence
Rewritten DOM-based StyleSheet implementation with ordered CSS insertion
The DOM rendering layer for StyleSheet has been replaced with a new implementation that manages CSS stylesheets using an order-based insertion system. This change introduces a new module structure under \packages/react-native-web/src/exports/StyleSheet/dom\, featuring \createCSSStyleSheet\ for creating and managing \\<style\>\ elements (including support for Shadow DOM roots) and \createOrderedCSSStyleSheet\ for inserting CSS rules into specific groups to maintain deterministic ordering. The \index.js\ entry point now coordinates these components, applying initial reset rules and system color rules, and ensures that style updates are propagated across all active sheets. This rewrite replaces the previous DOM styling mechanism, altering how CSS is generated and injected into the document.
packages/react-native-web/src/exports/StyleSheet/dom · high confidence
Rewritten StyleSheet compiler with atomic CSS and W3C logical style support
The StyleSheet compiler in react-native-web has been rewritten to generate atomic CSS classes instead of inline styles, significantly improving performance and enabling better style caching. This change introduces support for W3C logical CSS properties (such as marginInline, paddingBlock, borderInlineStart, and insetInline), allowing styles to automatically adapt to different text directions (LTR/RTL) without manual intervention. The compiler now handles shortform property expansion, normalizes color values, and manages unitless numbers more robustly, ensuring that React Native style objects are correctly translated into efficient, cascade-friendly CSS rules.
packages/react-native-web/src/exports/StyleSheet/compiler · high confidence
Rewritten StyleSheet with ordered CSS injection and validation
The StyleSheet module has been rewritten to use a new DOM-based architecture that injects CSS rules into \<style\> tags with strict ordering, ensuring correct cascade precedence for styles. This change introduces a new validation layer that rejects invalid style declarations (such as !important values, unsupported shorthand properties, and incorrect property names) in development, and adds support for W3C logical CSS properties (e.g., marginInline, borderStart) alongside deprecation warnings for legacy shadow props. The module also now supports array syntax for boxShadow and transformOrigin, and provides a getSheet() API to retrieve the generated CSS text for server-side rendering or style inspection.
packages/react-native-web/src/exports/StyleSheet · high confidence
Rewritten benchmark application with React 18 support
The benchmarks application has been rewritten to support React 18, utilizing the new \createRoot\ API for rendering. The new structure dynamically loads implementation components from the \./implementations/\ directory and runs specific performance tests, including mounting deep and wide trees and updating dynamic styles, providing users with updated metrics for these core rendering scenarios.
packages/benchmarks/src · high confidence
Rewritten benchmarks app with new UI components and layout
The benchmarks application has been rewritten to provide a structured interface for comparing library performance. The new UI features a three-panel layout (view, list, and action) that adapts to screen width, allowing users to select benchmarks and libraries via pickers, run tests, and view detailed results including mean time, standard deviation, and forced layout/scripting metrics. The app now includes dedicated components for buttons, icons, and report cards, and utilizes a centralized theme system for consistent styling across platforms.
packages/benchmarks/src/app · high confidence
Share AssetRegistry between CJS and ESM builds
The AssetRegistry module now uses a global symbol to ensure that both CommonJS and ES Module builds reference the same underlying asset data, preventing duplication and ensuring consistency regardless of how the module is imported.
packages/react-native-web/src/modules/AssetRegistry · high confidence
Switch component now supports custom colors and improved accessibility
The Switch component has been updated to allow users to customize the colors of the track and thumb in both active and disabled states via new props (activeThumbColor, activeTrackColor, thumbColor, trackColor). It also improves accessibility by applying the aria-label to the underlying native control and ensuring the component has the correct 'switch' role, while maintaining support for focus rings and high contrast modes.
packages/react-native-web/src/exports/Switch · high confidence
Text component refactored to use context for nesting and modernized styling
The Text component implementation has been modernized to use a React Context (TextAncestorContext) to manage nested text structures, ensuring that nested Text elements render as spans within a root div rather than nested divs. This change, along with the introduction of the \hrefAttrs\ prop for customizing link attributes and the adoption of \useResponderEvents\ for touch/click handling, improves layout correctness and interaction behavior for users relying on nested text or link interactions.
packages/react-native-web/src/exports/Text · high confidence
TouchableOpacity opacity updates now respect disabled state
The TouchableOpacity component now correctly handles opacity transitions when the component is disabled. The implementation ensures that the visual dimming effect (opacity change) is only applied when the component is not disabled, and it properly manages the transition duration and opacity override states to prevent visual glitches or incorrect styling during press interactions on disabled elements.
packages/react-native-web/src/exports/TouchableOpacity · high confidence
UIManager layout measurement and focus behavior updates
The UIManager module now uses getBoundingClientRect for measureInWindow to improve layout measurement accuracy, and refines the focus method to avoid setting tabIndex on specific elements like BODY or INPUT. Additionally, measureLayout and measure operations are now asynchronous via setTimeout to prevent blocking, and updateView handles style and class attributes more explicitly.
packages/react-native-web/src/exports/UIManager · high confidence
Unified ARIA and accessibility prop handling in DOM property creation
The createDOMProps module now explicitly maps React Native accessibility props (such as accessibilityLabel, accessibilityRole, and accessibilityState) to their corresponding W3C ARIA attributes (like aria-label, role, and aria-selected) within the DOM property generation logic. This change centralizes the conversion of accessibility-related props, ensuring that both legacy React Native accessibility properties and standard ARIA attributes are correctly forwarded to the underlying DOM elements, thereby improving screen reader compatibility and adherence to web accessibility standards.
packages/react-native-web/src/modules/createDOMProps · high confidence
Vibration API now uses a default vibration pattern
The Vibration module in react-native-web has been updated to provide a default pattern of 400ms when the vibrate method is called without arguments. Previously, calling vibrate() with no parameters would pass undefined to the underlying navigator.vibrate API; the new implementation ensures a consistent 400ms vibration occurs by default, aligning better with expected behavior while maintaining compatibility with explicit pattern inputs.
packages/react-native-web/src/exports/Vibration · high confidence
View component modernized with W3C ARIA support and new prop handling
The View component has been refactored to support W3C-standard ARIA properties (e.g., aria-label, aria-hidden) alongside the legacy accessibility props, which are now marked as deprecated. It introduces an hrefAttrs prop to control link attributes like download and rel when the View renders as an anchor, and adds support for PointerEvent props. The component now uses a 'use client' directive for React Server Components compatibility, enforces that text nodes cannot be direct children, and handles writing direction via the dir and lang props.
packages/react-native-web/src/exports/View · high confidence
findNodeHandle now throws an error on web
The findNodeHandle export in react-native-web has been updated to explicitly throw an error when called, informing users that the function is not supported on the web platform and suggesting they use the ref property on components instead. This change ensures that attempts to use this React Native-specific API on the web fail with a clear, actionable message rather than potentially causing silent failures or undefined behavior.
packages/react-native-web/src/exports/findNodeHandle · high confidence
Fixes
Added isWebColor utility for color compatibility
A new utility module has been added to detect web-specific color values (such as 'currentColor', 'inherit', and CSS variables) to improve processColor compatibility with React Native.
packages/react-native-web/src/modules/isWebColor · high confidence
Expose UIManager via NativeModules shim
The NativeModules export now includes the UIManager, making it available to consumers who rely on this module for native module access. This change ensures that the UIManager is properly exposed through the NativeModules interface, aligning with React Native's expected module structure.
packages/react-native-web/src/exports/NativeModules · high confidence
Fix useColorScheme subscription lifecycle to prevent memory leaks
The \useColorScheme\ hook now correctly manages the listener subscription lifecycle. It ensures the change listener is added only once and, crucially, is properly removed when the component unmounts, preventing memory leaks and stale updates. This fix guarantees that the hook remains active across component rerenders without duplicating subscriptions.
packages/react-native-web/src/exports/useColorScheme · high confidence
Fixes to press event handling and keyboard interactions
This update resolves several issues within the press event system (specifically in \PressResponder\ and \usePressEvents\). It ensures that disabled pressables correctly propagate click events, fixes a regression where \onPress\ was incorrectly triggered for Ctrl+click on Windows, and addresses a bug where the \onPress\ callback was not firing for keyboard interactions. Additionally, it prevents the context menu from appearing on long-press on Windows and improves memory management by avoiding the retention of DOM nodes in the responder. Also in this area: 1 commit (0 fixes) modifying (repo-wide); 1 commit (1 fix) fixing packages/react-native-web/src/modules/usePressEvents; Image component now supports 'src' prop and exposes 'resolveAssetSource' API.
packages/react-native-web/src/modules/usePressEvents · low confidence · unverified
Modernized TextInput implementation with expanded prop support
The TextInput component has been rewritten to modernize its internal architecture and expand its feature set. Users now benefit from improved event handling, including support for onKeyPress (with arrow and Escape keys), onContentSizeChange, and corrected onSelectionChange behavior. The component now supports additional props such as caretHidden, disabled, showSoftInputOnFocus, and inputAccessoryViewID, while also mapping deprecated keyboardType values to the W3C-standard inputMode. Fixes address focus management, cursor positioning with secureTextEntry, and browser-specific rendering issues in Firefox and Safari.
packages/react-native-web/src/exports/TextInput · high confidence
ScrollView refactored into base component with improved scroll event handling
The ScrollView implementation has been restructured by extracting core web-specific scroll logic (throttling, disabling, and indicator hiding) into a new \ScrollViewBase\ component, while the main \ScrollView\ class now focuses on responder management and prop forwarding. This change ensures that scroll events are correctly propagated and normalized, fixes issues with nested scroll views not responding to descendant events, and properly forwards the \dataSet\ prop and \style\ when \refreshControl\ is present.
packages/react-native-web/src/exports/ScrollView · high confidence
Updated vendored React Native Animated API implementation
The \packages/react-native-web/src/vendor/react-native/Animated\ module has been updated with a new implementation of the React Native Animated API. This change includes a complete rewrite of the core animation logic, introducing dedicated modules for \AnimatedEvent\ handling, \NativeAnimatedHelper\ for bridging to native drivers, and specific animation types like \SpringAnimation\, \TimingAnimation\, and \DecayAnimation\. The update also adds a new \AnimatedMock\ module to replace animations with empty states during testing, ensuring predictable snapshot tests, and updates the \Easing\ module with standard easing functions. These changes improve the reliability and performance of animations in react-native-web by aligning the implementation more closely with the upstream React Native source.
packages/react-native-web/src/vendor · high confidence
Test coverage
12 commits adding/updating tests in packages/react-native-web/src/exports/Modal/\_\tests\\; 4 commits adding/updating tests in packages/react-native-web/src/exports/TouchableWithoutFeedback/\\tests\\; 4 commits adding/updating tests in packages/react-native-web/src/modules/useStable/\\tests\\_; Added Jest snapshots for Image component props; Added comprehensive test suite for TextInput component; Added snapshot tests for ActivityIndicator component; Added snapshot tests for Babel plugin module rewrites; Added snapshot tests for ScrollView centerContent and refreshControl props; Added snapshot tests for Switch component disabled state styling; Added snapshot tests for pointer type detection; Added test coverage for React Native Web Modal component; Added test suite for Pressable component interactions; Added test suite for React Native Web Image component; Added tests for Animated interpolation logic; Added tests for AppRegistry initialization and SSR behavior; Added tests for DOM property creation and accessibility handling; Added tests for Dimensions API behavior; Added tests for Platform.select and Platform.isTesting; Added tests for ScrollView props and methods; Added tests for Switch component accessibility and state behavior; Added tests for UIManager focus and updateView behavior; Added tests for accessibility role mapping utilities; Added tests for babel-plugin-react-native-web import/export rewriting; Added tests for createElement accessibility prop mapping; Added tests for processColor utility; Added tests for the Picker component; Added tests for the new StyleSheet compiler and DOM integration; Added tests for useResponderEvents hook; Added unit tests for Text component props and behavior; Added unit tests for dom-event-testing-library; Snapshot tests added for Pressable component behavior; Snapshot tests added for Text component rendering and props; Snapshot tests added for View component rendering; Snapshot tests added for createElement DOM output; Snapshot tests for AppRegistry CSS output.
Dependencies
Added Flow type definitions for create-react-class, prop-types, and styleq
This change adds Flow type definitions for three npm packages: create-react-class, prop-types, and styleq. The new files in the flow-typed directory provide type declarations for these libraries, enabling Flow to perform static type checking on code that uses them. Specifically, it defines types for React class creation, PropTypes validation, and the styleq library for handling CSS styles. Also in this area: Updated styleq type definitions and benchmark implementation. Also in this area: 1 commit (0 fixes) modifying (repo-wide).
flow-typed · low confidence · unverified
Upgrade to React 19 support and update core dependencies
The react-native-web package now supports React 18 and 19, with peer dependencies updated to allow either version. The core dependency inline-style-prefixer has been upgraded to version 7.0.1, and the examples app has been updated to use React 18. The benchmarks package now targets React 19.0.0. Development tooling includes updates to Jest 29.7.0, ESLint 8.19.0, and Babel 7.18.6 across the monorepo.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 52 → 48 (-3.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 48 → 46 (-1.4)
- Architecture 95 → 96 (+1.0)
- Maturity 62 → 61 (-0.6)
- Readiness 42 → 38 (-4.5)
- Security 78 → 55 (-23.1)
- Accessibility 70 → 84 (+14.5)
- Performance 100 → 100 (+0.0)
Resolved (40)
- (anonymous) (cognitive 18) (packages/react-native-web/src/exports/ScrollView/ScrollViewBase.js)
- (anonymous) (cognitive 21) (packages/react-native-web/src/exports/Modal/ModalFocusTrap.js)
- (anonymous) (cognitive 23) (packages/react-native-web/src/exports/View/index.js)
- (anonymous) (cognitive 34) (packages/react-native-web/src/exports/Text/index.js)
- (anonymous) (cognitive 41) (packages/react-native-web/src/exports/Image/index.js)
- (anonymous) (cognitive 76) (packages/react-native-web/src/exports/StyleSheet/preprocess.js)
- (anonymous) (cognitive 84) (packages/react-native-web/src/exports/TextInput/index.js)
- (anonymous) (cyclomatic 16) (packages/react-native-web/src/exports/Modal/ModalFocusTrap.js)
- (anonymous) (cyclomatic 27) (packages/react-native-web/src/exports/Text/index.js)
- (anonymous) (cyclomatic 38) (packages/react-native-web/src/exports/Image/index.js)
- (anonymous) (cyclomatic 49) (packages/react-native-web/src/exports/StyleSheet/preprocess.js)
- (anonymous) (cyclomatic 80) (packages/react-native-web/src/exports/TextInput/index.js)
- FunctionTooLong: index.createDOMProps (packages/react-native-web/src/modules/createDOMProps/index.js)
- Hotspot: packages/react-native-web/src/exports/Switch/index.js (packages/react-native-web/src/exports/Switch/index.js)
- Mock-dominated test: is called after image is loaded from cache (packages/react-native-web/src/exports/Image/tests/index-test.js)
- Mock-dominated test: is called after image is loaded from network (packages/react-native-web/src/exports/Image/tests/index-test.js)
- Mock-dominated test: is called on update if "uri" is different (packages/react-native-web/src/exports/Image/tests/index-test.js)
- Mock-dominated test: is not called on update if "uri" is the same (packages/react-native-web/src/exports/Image/tests/index-test.js)
- Mock-dominated test: is not called on update if "uri" is the same and given as an object (packages/react-native-web/src/exports/Image/tests/index-test.js)
- Mock-dominated test: load is not restarted on update if only the handler identities change (packages/react-native-web/src/exports/Image/tests/index-test.js)
- …and 20 more
New (73)
- (anonymous) (cognitive 20) (packages/react-native-web/src/exports/ScrollView/ScrollViewBase.js)
- (anonymous) (cognitive 23) (packages/react-native-web/src/exports/Modal/ModalFocusTrap.js)
- (anonymous) (cognitive 24) (packages/react-native-web/src/exports/View/index.js)
- (anonymous) (cognitive 36) (packages/react-native-web/src/exports/Text/index.js)
- (anonymous) (cognitive 38) (packages/react-native-web/src/exports/Image/index.js)
- (anonymous) (cognitive 75) (packages/react-native-web/src/exports/StyleSheet/preprocess.js)
- (anonymous) (cognitive 77) (packages/react-native-web/src/modules/createDOMProps/index.js)
- (anonymous) (cognitive 86) (packages/react-native-web/src/exports/TextInput/index.js)
- (anonymous) (cyclomatic 18) (packages/react-native-web/src/exports/Modal/ModalFocusTrap.js)
- (anonymous) (cyclomatic 29) (packages/react-native-web/src/exports/Text/index.js)
- (anonymous) (cyclomatic 37) (packages/react-native-web/src/exports/Image/index.js)
- (anonymous) (cyclomatic 42) (packages/react-native-web/src/exports/StyleSheet/preprocess.js)
- (anonymous) (cyclomatic 82) (packages/react-native-web/src/exports/TextInput/index.js)
- (anonymous) (cyclomatic 84) (packages/react-native-web/src/modules/createDOMProps/index.js)
- Banned license: @img/sharp-libvips-darwin-arm64 (package-lock.json)
- Banned license: @img/sharp-libvips-darwin-x64 (package-lock.json)
- Banned license: @img/sharp-libvips-linux-arm (package-lock.json)
- Banned license: @img/sharp-libvips-linux-arm64 (package-lock.json)
- Banned license: @img/sharp-libvips-linux-ppc64 (package-lock.json)
- Banned license: @img/sharp-libvips-linux-riscv64 (package-lock.json)
- …and 53 more
Changes since last survey
- 51 commits — 20 feature/other, 31 fixes
By area
- packages/react-native-web — 47 commits
- (root) — 1 commit
- packages/react-native-web-docs — 1 commit
- packages/react-native-web-examples — 1 commit
- scripts/releasePackages.js — 1 commit
Notable commits
- fix: Fix lists page layout in examples app
- fix: Fix modal focus trapping for elements excluded from tab order (#2864)
- fix: Fix setNativeProps argument type
- fix: [fix] Image: show already loaded images on first render (#2949)
- fix: [fix] ImageLoader: release images after load or error (#2952)
- fix: [fix] Modal: close only one modal per Escape key press
- fix: [fix] Modal: don't scroll to the first focusable element on open
- fix: [fix] Modal: don't take focus back from a modal shown while closing (#2960)
- fix: [fix] Modal: make a modal active when it shows, not when its animation ends (#2962)
- fix: [fix] Modal: trap focus and handle Escape from the commit that activates it (#2879)
- fix: [fix] Modal: wrap focus backwards to the last element, not its container (#2908)
- fix: [fix] Pressable: call onPress on Enter when role is "link" (#2926)
- fix: [fix] Pressable: don't re-render on interaction without state callback (#2954)
- fix: [fix] Pressable: don't restart the outer hover when the pointer leaves both Pressables
- fix: [fix] Pressable: remove keyup listener on unmount
- fix: [fix] ScrollView: don't set touch-action when scroll is disabled
- fix: [fix] ScrollView: support percentage heights on pagingEnabled children
- fix: [fix] StyleSheet: don't crash on hydration when rules come before the first group
- fix: [fix] StyleSheet: don't preprocess compiled style objects (#2944)
- fix: [fix] Text: shrink below the longest word in a flex row, as View does (#2922)
- …and 31 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
necolas/react-native-web was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit eb77ba974d1e4e1cf052ec93b66064751e332fad — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.