Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Ignite with create-react-native-app

In theory, it seems you should be able to use Ignite and its boilerplates with create-react-native-app by executing:

ignite attach
ignite add ir-boilerplate

And then copying the boilerplate application code into the project directory.

Now that create-react-native-app is tightly coupled with Expo, this doesn't work as expected. The Ignite code causes all kinds of errors within the Expo framework. From my reading, it seems the Ignite dependencies conflict with what is provided by Expo.

One lone soldier hacked together a solution to the Expo conflicts, but this was done just for Expo and not create-react-native-app. Also I'd obviously prefer a more supported solution.

So... has anyone gotten the Ignite boilerplate running within the new create-react-native-app which integrates with Expo?

If that isn't feasible, what would you recommend? I think it's safe to assume that Ignite will have to be updated to support Expo, especially now that it is ingrained in create-react-native-app. If I develop using Ignite today, will I be able to migrate my work into the create-react-native-app framework when Ignite supports it?

Thanks!

like image 258
Jacob Ensor Avatar asked Jul 23 '17 14:07

Jacob Ensor


People also ask

Is Ignite good for React Native?

Ignite is well-known in the React Native world. It's a collection of all of Infinite Red's opinions on stack, patterns, and packages in one place. It usually saves teams about two to four weeks off the front end of their React Native projects.

What is Ignite in React Native?

The culmination of five years of constant React Native development, Ignite is the most popular React Native app boilerplate for both Expo and bare React Native. This is the React Native boilerplate that the Infinite Red team uses on a day-to-day basis to build client apps.

What is Ignite React?

Ignite is the React Native boilerplate that we use at Infinite Red on a day-to-day basis to build client apps. It is a culmination of five years of constant React Native development and is the easiest way to start a React Native project.


1 Answers

$ ignite new MyLatestCreation -b ignite-expo

(according to GitHub thread: https://github.com/infinitered/ignite/issues/1008)

like image 88
Innovate Avatar answered Sep 29 '22 00:09

Innovate