Mudanças entre as edições de "React Native"

De BrapciWiki
Ir para navegação Ir para pesquisar
Linha 10: Linha 10:
 
  npm run ios
 
  npm run ios
 
  npm run web
 
  npm run web
 +
 +
== Componentes ==
 +
 +
npm install @react-navigation/stack --save
 +
npm install @react-navigation/native --save
  
 
== Iniciar server ==
 
== Iniciar server ==

Edição das 01h14min de 5 de julho de 2021

https://reactnative.dev/docs/getting-started

npm install --global expo-cli

Criar uma aplicação

expo init teste1
npm start
npm run android
npm run ios
npm run web

Componentes

npm install @react-navigation/stack --save
npm install @react-navigation/native --save

Iniciar server

Inicar o React para desenvolvimento e testes

yarn start

Bibliotecas

https://www.youtube.com/watch?v=71shcOjC_a4