enricopv / turbo-boilerplate Goto Github PK
View Code? Open in Web Editor NEWTurborepo Boiler Plate with Next, Remix, Expo, and React Native projects.
Turborepo Boiler Plate with Next, Remix, Expo, and React Native projects.
have you tried upgrading to expo 45? I tried and seems to error
Hi, nice repo :)
Not an issue but a question ๐โโ๏ธ
Does it work if "ui-native" have dependencies like dripsy or other npm packages depending on react-* ?
Of course, I will try when I found 5 minutes ๐ค
It takes me hours to build a yarn workspace monorepo (https://github.com/rphlmr/expo-nextjs-monorepo) that works with expo.
My issue (normally solved) was a boot crash on expo ios / android ๐ due to node_module collision conflict.
Getting React invalid hook call error when using SDK 44. I'm working through it now.
I couldn't help but to say yarn v1 is super slow.
pnpm recently added node-linker config, pnpm relies on symlinks which metro doesn't support but with the new hoist option it could be used.
so I tried, it went smooth. the problem occurred on metro config saying packages is undefined
.
https://www.npmjs.com/package/react-native-svg-transformer
how to add this config to metro ?
const const { getDefaultConfig } = require("metro-config");
module.exports = (async () => {
const {
resolver: { sourceExts, assetExts }
} = await getDefaultConfig();
return {
transformer: {
babelTransformerPath: require.resolve("react-native-svg-transformer")
},
resolver: {
assetExts: assetExts.filter(ext => ext !== "svg"),
sourceExts: [...sourceExts, "svg"]
}
};
})();
Thanks for such a great repo! This isn't an issue but a question -
Does it automatically resolve .web.js and .native.js files depending on the platform?
Works great until I add recoil as a dependency
Repro steps:
yarn add recoil
inside of /apps/xpo<RecoilRoot>
wrapper for the whole app, before the NavigationStackiOS Bundling complete 1049ms
ERROR Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
4. You might be breaking the Rules of Hooks
5. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
RecoilRoot@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:135558:25
App
ExpoRoot@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:119162:22
RCTView
View
DevAppContainer@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:118879:36
RCTView
View
AppContainer@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:80503:36
main(RootComponent)@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:86878:28
ERROR Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
RecoilRoot@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:135558:25
App
ExpoRoot@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:119162:22
RCTView
View
DevAppContainer@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:118879:36
RCTView
View
AppContainer@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:80503:36
main(RootComponent)@http://192.168.1.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false:86878:28
ERROR TypeError: null is not an object (evaluating 'dispatcher.useContext')
This error is located at:
in RecoilRoot (created by App)
in App (created by ExpoRoot)
in ExpoRoot
in RCTView (created by View)
in View (created by AppContainer)
in DevAppContainer (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent)
ERROR TypeError: null is not an object (evaluating 'dispatcher.useContext')
This error is located at:
in RecoilRoot (created by App)
in App (created by ExpoRoot)
in ExpoRoot
in RCTView (created by View)
in View (created by AppContainer)
in DevAppContainer (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent)
How do you style the UI components with this setup, and avoid running yarn install
every time you update any component in the UI package?
Hey, great project. I was curious, is there any specific reason why all the packages are in devDependency ?
Thank you for your time :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.