Giter Site home page Giter Site logo

enricopv / turbo-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
300.0 300.0 24.0 9.86 MB

Turborepo Boiler Plate with Next, Remix, Expo, and React Native projects.

JavaScript 21.83% TypeScript 50.75% CSS 7.64% Starlark 0.96% Java 10.40% Ruby 1.26% Objective-C 7.16%

turbo-boilerplate's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

turbo-boilerplate's Issues

How to add config metro packages react-native-svg-transformer

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"]
}
};
})();

Expo SDK 45

have you tried upgrading to expo 45? I tried and seems to error

replace yarn v1 with pnpm

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.

Question with packages :)

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.

Fails whenever I add Recoil as dependency

Works great until I add recoil as a dependency

Repro steps:

  1. Run yarn add recoil inside of /apps/xpo
  2. Add a <RecoilRoot> wrapper for the whole app, before the NavigationStack
  3. Run the app. Get this exception
iOS 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.