Removal of Expo #2352
-
I really don't want to use Expo but boilerplate comes with full support for it. Removing them from demo code, package.json, webpack conf and etc. is one thing but as far as i know expo also installs bunch of heavy native packages that will never be used for vanilla react projects. is there a way for me to avoid this ? Boilerplate was used to be expo independent why did they chose this path ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
The project includes App.js and index.js at the root level. Depending on using expo or react native cli, the project starts that way. You can still use expo modules in bare app and using expo sdk depends on your needs. |
Beta Was this translation helpful? Give feedback.
-
@ev3nst You might be thinking of older Expo, however as per their docs
Also, the boilerplate was changed because it represents the way we start off client projects. Although we expose it out to the community, we build Ignite around how Infinite Red does work. So it may not fit your needs exactly, but give you a great starting point and then you can customize as needed. |
Beta Was this translation helpful? Give feedback.
-
@ev3nst Understood, we're still exploring on how to best incorporate these types of "template" options where it's useful for your scenario but also easy enough for us to maintain. However, you might find this interesting for your use case: https://github.com/frankcalise/ignite-vanilla-template I started a truly Expo-less template, but there are no guarantees here as it's still very much a work in progress. I had to rip out localization for the time being and still working on getting react native web to work properly. But if it helps, feel free to start there. |
Beta Was this translation helpful? Give feedback.
@ev3nst You might be thinking of older Expo, however as per their docs
Also, the boilerplate was changed because it represents the way we start off client projects. Although we expose it out to the community, we build Ignite around how Infinite Red does work. So it may not fit your needs exactly, but give you a great starting point and then you can customize as needed.