Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
3bcd0af to
1944fac
Compare
588c040 to
0932061
Compare
0932061 to
acc5032
Compare
a0ff4b3 to
50ca57b
Compare
|
Coming soon, we put this on the back burner in favor of https://x.com/aidenybai/status/1861079416480383159, but we're hoping to ship this soon! Only todo is to make sure we don't bloat your production bundle with 6mb of react-native-skia (probably requires a metro plugin) |
b765799 to
99fb610
Compare
99fb610 to
6fad4f6
Compare
|
For my curious readers 😇 here's what it should look like: https://x.com/aidenybai/status/1861612714537427045 ssstwitter.com_1732702337955.mp4 |
45ef773 to
b0e2dad
Compare
|
hi boss, Can I not use react-native-reanimated? I think maybe many people are like us and cannot use react-native-reanimated for some reason |
Currently its required, but most likely in the next release for react-scan@native we will drop this requirement |
7526d13 to
47c46ca
Compare
|
any dice? |
|
Alright we tried this as well. So above comments confirm our case, non the less great work guys! |
|
It is not compatible with React Native Web due to use of One of Skia's contributor recommended to use the Paragraph API instead Shopify/react-native-skia#2303 (comment). |
All fixes will come with when @react-native lands on main taking longer than I hoped to upstream the fixes because I'm working on some react-scan@web features that have taken priority |
|
would love to try and get this PR merge as fast as possible |
|
Just commenting here to indicate my interest in the RN version as lots of others have already expressed :) |
|
is it possible to use it without skia? |
Yeah that'd be nice. I don't really want to install skia because we're using different libraries. Would be nice to have a standard solution that works without external dependencies like that. |
|
why it doesn't support android?! |
|
while enabled i can no longer use inputs or navigation. Also button (react-scan) sometimes work sometimes doesnt? |
|
are you using Android? |
Yes |
It's not working on Android |
is there any way to know the progress? When would it be possible to use for android. |
|
Any updates? |
Okay good news. I finally figured out how to make react scan work for react native. i was worried it wasn't possible, but the approach I came up with should allow for full parity with web. This will take a bit to cook, but it's coming :) |
🔥 🔥 🔥 🔥 i honestly thought i would never see that in any time soon 😭 |
The changes are quite significant, so will need some patience. Will share updates as they come |
No update yet? 😢 |
Current priorities are:
after those I'll pick up the react native effort again |
|
Hey @RobPruzan, do you have any update on react-native support or plans? |
|
Does react native version support react19 ? |
|
I'm getting a Babel plugin conflict when trying to add react-scan to React Native: Environment:
Setup: const { withReactScanTreeShake } = require('react-scan/babel');
module.exports = withReactScanTreeShake({
presets: ['module:@react-native/babel-preset'],
plugins: [
// ... other plugins
'react-native-reanimated/plugin',
],
});The error occurs during the build process. It seems there's a conflict between Has anyone successfully integrated react-scan with React Native 0.74.x? |



Hi! We're ready to show you an early preview of React Scan for Native. It's not 100% feature parity with web yet, and a lot of technical decisions are up for change, but we'd love for you to try it out.
SimulatorScreenRecording-iPhone16-2024-11-27at16.25.23-ezgif.com-crop-video.mp4
Setup guide
First, install the required dependencies:
Then, wrap your root component with
ReactScan:The React Native version supports most of the options described in the API Reference section below, with a few differences:
playSound,runInProduction,includeChildren,onPaintFinish, andonPaintStartExample usage with options:
Important
By default, Metro bundler includes React Scan in production builds, which can add up to 6MB to your bundle size. To prevent this, use our babel plugin:
If you are not using expo, install expo-babel-preset (works outside of expo):
npm install babel-preset-expoCreate or modify your
babel.config.js:This will automatically remove React Scan from production builds while keeping it available during development.
Contributing
Please leave all React Native bugs/feedback within this PR until it is merged.
To setup:
You'll need to create a React Native test repo to get it spun up