Repository navigation
Changes
NitroWebView now accepts plain functions for all 13 event props and hybridRef. Existing callback(fn) handlers remain supported.
<NitroWebView
source={{ uri: 'https://example.com' }}
onMessage={(event) => console.log(event.nativeEvent.data)}
/>The component reuses callback wrappers when the underlying function is unchanged and clears handlers when passed undefined. Async navigation decisions and event payloads retain their existing behavior. English and Korean guides now describe the 0.2.2 API.
Installation
yarn add nitro-webview@0.2.2 react-native-nitro-modules
# or
npm install nitro-webview@0.2.2 react-native-nitro-modulesPeer requirements remain React Native ~0.85.3 with the New Architecture, React 19.2.3, and Nitro Modules ^0.35.9.