Comments (4)
Answer in the FAQ:
How do I add custom native code to my Exponent project?
http://docs.getexponent.com/versions/v11.0.0/introduction/faq.html
from expo.
We should try to move UI libraries like this away from native dependencies so they can be easily supported with Exponent. Native modules have two use cases right now:
- Expose an API that is not currently available to JS
- Do something that you can do in JS but more performantly
UI libraries will only include native code that falls under category 2, so the answer is to improve react-native such that it is not necessary to drop down to native code. This means improving animations to allow them to run on the main thread (coming along nicely!), improving the gesture system, etc.
In this particular case, I believe custom native code is used for the loading spinner effect. Once we add support for Animated.loop
and make it possible to run looped animations on the main thread there will be no need for custom native code for this.
Until then, you can fork this library and change the implementation or just use plain React Native without Exponent (sorry :<), or wait until it's possible to partially eject from Exponent (described here).
from expo.
@brentvatne what about use case 1? This is a deal breaker for me
from expo.
https://docs.expo.io/versions/latest/guides/detach.html :)
from expo.
Related Issues (20)
- [docs] Module API Reference - Android Package interface installation should be explained HOT 1
- iOS/Android bundling unable to resolve vfile package exports HOT 2
- Expo Image Picker Not working on Android 14 HOT 2
- expo-camera/next onResponsiveOrientationChanged event type mismatch HOT 6
- Error: The method or property expo-crypto.getRandomBytes is not available on android, are you sure you've linked all the native dependencies properly? HOT 1
- (Expo Router 3.5.2) - Wrapping route in Slot/Stack layout causes params to be undefined HOT 1
- can't copy object JS Debugger (DevTools) on SDK 50 HOT 5
- [Android][SDK 50] expo-camera/next causes freeze on render for specific OnePlus Device model HOT 1
- New expo and react native project events do not work HOT 2
- its telling me that i cant run the expo app on web because i have not yet installed the web dependencies HOT 1
- Cannot read property 'useMemo' of null HOT 20
- [SDK51/router 3.5.3] Href prop on Link not typed HOT 2
- expo-build-properties doesn't set iOS deployment target correctly. HOT 1
- expo-build-properties doesn't set iOS deployment target correctly. HOT 2
- Expo font not working HOT 1
- build error (in target 'EXUpdates' from project 'Pods') HOT 1
- [docs] @example tags are not rendered correctly HOT 1
- expo-image-picker doesn't return the cancel event on Web HOT 1
- Cannot build for iOS 17.4 with JSC - Expo 51 Beta HOT 4
- [SDK 51 beta] Build failing when not using Expo CLI integration in bare app HOT 10
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 expo.