Comments (8)
Let's do this! If someone uses a sophisticated setup (i.e. Metro for dev, webpack for prod) I'd say they'll know how to set it up properly with Repack switch to being the default. For the rest of the users, it would save them time spent on figuring out why Metro was started instead of webpack.
Easing the new tool friction is always good 🚀
from repack.
As long as we document how to fall back to previous behavior, or expose metro's start command, I'm good with moving forward with this 👍🏼
from repack.
Massively in favour of this default.
I think 90% of developers onboarded hit an issue where they somehow manage to trigger metro.
from repack.
cc @jbroma @tom-sherman @thymikee
from repack.
This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.
from repack.
I gave it some thought and I think this will be a good way going forward, this will reduce the overhead when migrating from metro
and avoid some silly mistakes on users part. It's also worth noting that we the commands used in Re.Pack
are aligned to that of metro
so the change so it should be relatively smooth to add. If somebody uses metro
fro development and Re.Pack
for production, it can still manually adjusted in react-native.config.js
.
This is quite a big change and definitely breaking so I'm adding an RFC to the title, and hope to gain more opinion on this matter.
from repack.
@RafikiTiki @thymikee @tom-sherman some insights from you would be great
from repack.
Related Issues (20)
- cannot load mini app(Module Federation) when verifyScriptSignature = 'strict' HOT 8
- Can't find variable: __wepack_require__ in ScriptManager.js HOT 10
- Unable to load script. Make sure you're either running Metro HOT 3
- Facing issue while implementing Offline Bundling. HOT 8
- Error in bundling micro apps with react-native-svg packages HOT 3
- Unhandled error in Webpack Compiler when doing `rpm run ios` HOT 2
- Cannot Resole React Hook Form correctly HOT 7
- repack monorepo deployment help
- Android is crashing when "onMessage" props is accessed in "react-native-webview" library HOT 1
- [RFC] sync API HOT 10
- Improve types for `prefetchScript` and `loadScript` HOT 6
- Is it possible to load a remote module before it is requested by the user?
- callstack_repack-Swift.h file not found HOT 18
- Repack app fails with "could not find react-redux context value" for the latest versions of react-redux and @reduxjs/toolkit HOT 3
- Property 'HMRClient' doesn't exist HOT 4
- Challenge Integrating Repack in React Native Mono Repo: App1 Loads Successfully, App2 Fails to Load from Server Bundles HOT 3
- Extract runtime into separate package in monorepo & publish it separately HOT 4
- Migrate ObjC code parts to Swift HOT 2
- How do i use react-native-gesture-handler in both my mini app and host app? HOT 5
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 repack.