kayleigh324 / react-study

Notes from my React studying, or notes from progress made on projects. Basically, anything React based goes here!!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-study

Notes from my React studying, or notes from progress made on projects. Basically, anything React based goes here!!

React Components
import React, { Component } from "react";
import "./App.css";

class App extends Component {
  render() {
    return (
      <div className="App">
        <h1>Hi, I'm a React App</h1>
      </div>
    );
  }
}

export default App;

Beginning a new project using React Native, to create a hotel booking mobile app. To install React Native, use npm install -g expo-cli from terminal. Then..

expo init HotelBooking

cd HotelBooking npm start

(I used hotel booking for my app name but choose whatever name you wish here)

Then install the Expo web app, follow these intructions and voila! You should now see your mobile app on your mobile!

Then install packages such as react-native-web for

https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz

0.64.3

About

Notes from my React studying, or notes from progress made on projects. Basically, anything React based goes here!!