What is Expo Prebuild and why should I use it? | Expo

Описание к видео What is Expo Prebuild and why should I use it? | Expo

In this Expo #short Kadi Kraman answers the question: What is an Expo Prebuild and why you should use it?

If you've ever worked on a React Native app where you update the code in your iOS and Android projects directly, then you've probably experienced that as the project grows, it gets more and more complicated to maintain, scale and update.

To improve this experience of React Native development, we've adopted a concept we've coined "Continuous Native Generation" or CNG.

CNG basically means generating ephemeral native projects from a set of inputs. So just as your node modules directory is generated based off of your package.json and your lockfile. With CNG, all the native code in your iOS and Android projects can be generated based largely off of your app.json and your package.json.

This is where prebuild comes in: Expo prebuild is a script that generates these native projects. Check it out: https://docs.expo.dev/workflow/prebuild/

00:00 What is an Expo Prebuild?
00:16 Continuous Native Generation
00:47 Expo Prebuild is a script that generates native projects

#Expo #reactnative #reactnativetutorial

Комментарии

Информация по комментариям в разработке