Comments (17)
I agree! React Native support is something we should look into. From my understanding the actual views created by React Native should already show up in the layout inspector. What we could offer, is adding React Dev Tools to Sonar as a separate plugin, showing the React components. Linking between the layout inspector with the actual views and a React plugin showing the component tree would be great.
The biggest task I see with this project, is to send the component hierarchy to the desktop. We will need to create a connection from JS to the desktop app.
from flipper.
https://github.com/infinitered/reactotron works very well with React Native.
It offers network inspection, better stack traces and redux actions/state logging and replay.
Checkout this video for more details: https://www.youtube.com/watch?v=UiPo9A9k7xc
from flipper.
@axe-fb is working to make it happen π.
RN 0.61.0 will come with default setup on Android. And for iOS, per discussion here facebook/react-native#26053, Yoga
dependence in Layout plugin clashes with RN one's (causing a The 'Pods-xxx' target has libraries with conflicting names: libyoga.a
) and it should get fixed with those two commits: facebook/react-native@82a8080 facebook/react-native@a58dd96. π€
Thanks @axe-fb!
from flipper.
We are working on standardizing this, so ideally in 0.62 Flipper should work out of the box on React Native. In a later version it will also be possible to directly integrate with Flipper from the JavaScript side of things on RN.
from flipper.
I made this tutorial https://fbflipper.com/docs/getting-started.html#setup-your-react-native-app for React native integration. Currently there is no full support, but you could use some features
from flipper.
React Native support would be awesome!
from flipper.
If trying to add this pod 'Yoga','~>1.8.1', :modular_headers => true
to the Podfile we stuck on #30. And when trying to install Yoga
from podspec like this:
pod 'Yoga', :podspec => 'https://raw.githubusercontent.com/facebook/yoga/50e3714b21437d244e51874435953a2d011d1618/Yoga.podspec', :modular_headers => true
We stumble upon this issue The 'Pods-xxx' target has libraries with conflicting names: libyoga.a.
as indeed in our Podfile we already have this:
pod "yoga", :path => "#{react_native_path}/ReactCommon/yoga"
Any idea :D?
from flipper.
Since integration is being done at native level, we should be able to use this tool for React-Native
projects as well. Just update related files under ios
and android
projects. (default react native apps, not expo!)
from flipper.
Somehow the default Flipper setup on Android (RN0.61.0) does not connect my app with flipper. Guessing some dependencies weren't included on Android.
Anyway, my app has successfully integrated with Flipper following this guide. Thanks to guide from @mateosilguero !
from flipper.
+1, nice projet by the way
from flipper.
It isn't usually useful to inspect React Native views. There are no unique class names so everything looks the same when it's in a flat list. Not great for debugging.
That's my experience using FLEX on a RN app, anyway...
from flipper.
Even without the React devtools having a network inspector in a React native app is a great feat!
from flipper.
Looking forward to this! Thanks π
from flipper.
Our team would love that as well!
from flipper.
@sregg already using it! π
from flipper.
Trying to get Flipper to work with RN 0.59 and ExpoKit, Iβm getting that libyoga.a
error. Does anyone know of some kind of Podfile workaround or must I wait until Expo ships with RN 0.61?
from flipper.
Awesome!
from flipper.
Related Issues (20)
- Failed to start Flipper: TypeError [ERR_INVALID_ARG_TYPE]
- Unable to install plugin HOT 1
- GitHub Actions Workflow failed - Publish Android
- Network Plugin HTTP Response body always (Empty)
- Virus detected in published files HOT 1
- ζ ζ³ζεΌβFlipper.appβοΌε δΈΊζ ζ³ιͺθ―εΌεθ γ HOT 2
- Watchman file watching service is not installed or not added to PATH HOT 1
- No matching version found for [email protected] HOT 4
- The downloaded flipper for mac m1 is always opened in the browser. Where can I download the local software? HOT 2
- Failed to start client connection: Failed to exchange certificate with /APP_NAME/ in android real device
- Discussion: Allow disabling running `klist.exe`. HOT 1
- GitHub Actions Workflow failed - Publish Android
- `flipper-common`, `flipper-pkg-lib` and `flipper-plugin-lib` version mismatch from their latest versions on npm (0.252.0) HOT 3
- Flipper totally sucks now. What did you guys do? HOT 1
- Android Gradle || Failed to resolve: com.facebook.flipper:flipper:0.252.0 HOT 2
- Question: I get NO DEVICES FOUND even though setup doctor says everthing is ok HOT 3
- How to Install .tgz file in windows?
- iOS - Privacy Manifest - Update OpenSSL dependency to 3.1.5001
- Question: [!] Invalid `Podfile` file: uninitialized constant Pod::Podfile::FlipperConfiguration. HOT 8
- "Could not find com.facebook.react:flipper-integration" error with new Android Studio and react native 0.73.7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flipper.