Coder Social home page Coder Social logo

react-for-beginners-starter-files's Introduction

React For Beginners — ReactForBeginners.com

Starter files for the React For Beginners course. Come Learn React with me!

The code in this repo meant to be a reference point for anyone following along with the video course.

To Start

Note - One of the dependencies is Xcode. While installing, if you run into an error that says, gyp: No Xcode or CLT version detected! please do the following:

  1. Execute xcode-select --install in terminal.
  2. Delete the "node_modules" folder located within the "catch-of-the-day" folder.
  3. Execute npm install once more.

cd into catch-of-the-day and follow along with the videos

Each numbered folder in stepped-solutions contains the files for the beginning of each correspondingly numbered video, should you need them. So, if you need any code, pull the appropriate file into your catch-of-the-day folder.

You are welcome to submit Pull Requests but I'd like to keep the code as similar as possible to the course content.

Code Use

You are welcome to use this code in your own applications. If you would like to use it for training purposes, please shoot me a message first to make sure it's okay.

Frequently Asked Questions

❓ I can't see the React tab in my dev tools

Restart your dev tools or your chrome browser entirely. They will only show up when you are viewing a React app - so make sure you test it on Facebook or another website that is running React. It won't work on your empty main.js file until you import React from 'react'.

npm start doesn't update the app on file save, or doesn't run correctly.

There may be a few different causes for this:

  • Webpack currently can't handle folder/file names that contain parentheses.
  • Webpack also has problems running inside folders for Dropbox/Google Drive type services. Git is recommended for keeping your files in sync across multiple computers.

❓ I get permission_denied warnings in my console when setting up Firebase

Be sure to select "Realtime database" as as your database type inside Firebase. If you created your database as a Cloud Firestore type, you can change it in the Database tab.

❓ I can't log in to the store after I deployed to Netlify/Apache

Firebase by default only allows logins from localhost or the Firebase website. You'll need to add your deploy URL to the Authorized Domains in the Sign-in method area of your Firebase console.

Changes In the 2018 RE-Record

In March 2018 I re-recorded this course. Here are the things that I've updated.

  • Upgrade to React Router 4 Final API
  • Use React 16.3
  • Move to external PropTypes Package
  • Use React's new Refs API, remove function refs
  • Remove all use of constructors and super() - use class properties instead
  • Better explain binding, use of this and component instances
  • Moved from React-addons-css-transition-group to react-transition-group and upgraded from 1.x to 2.x
  • Use official Firebase package for Auth as re-base is now only for data binding
  • Move promise based code to async/await
  • Show how to return multiple elements with React.Fragment

htaccess

Here is the .htaccess file we use in the apache deployment video

RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]

react-for-beginners-starter-files's People

Contributors

wesbos avatar asjas avatar chadfawcett avatar apopitich avatar brettwise avatar mattfwood avatar studiorgb avatar vladikoff avatar benwis avatar aadeshere1 avatar ostgals avatar benbr-personal avatar putnam14 avatar danielmohr avatar domgaulton avatar henrythiemann avatar martellaj avatar joshaddington avatar kadamwhite avatar kdv24 avatar leobalter avatar chowdhurian avatar skeltonm avatar algoritmau avatar rclanan avatar rianrainey avatar dotproto avatar steve-reid avatar skladany avatar tfrommen avatar

Stargazers

 avatar fawas diamond avatar Srajan Saxena avatar  avatar  avatar  avatar  avatar Gianna avatar Prasenjit Nayak avatar  avatar Milad avatar Myo Min Thein avatar Trương Quốc Trường avatar Ali Mehdi Naqvi avatar yelemyah.m avatar Great Anthony avatar heartbeato avatar Esma Bektas avatar Ben McArthur avatar  avatar gokacinlar avatar Behera avatar  avatar Muhammad Luqman avatar Mohammed Idris avatar Mehedi Hasan Siam avatar BonBonsNCandies avatar Keyth M Citizen  avatar Nick Zamboni avatar  avatar Krishna Hansda avatar  avatar Chris King Vargas avatar  avatar Mehedi Hasan Siam avatar Jangbahadur Singh avatar Abubakar Beni avatar Thomas  avatar Pratap avatar  avatar Ankush Gurhani avatar Riya Dhami avatar 박민아 avatar Ruthresh Kumar R avatar Sam avatar  avatar  avatar Ahmad7k avatar  avatar Loveneet Singh Chahal avatar  avatar  avatar 银丶 avatar Jason De Freites avatar Mizan Ade Arfani avatar  avatar David Simoes avatar Malak Mohamed avatar Solomon Peter avatar DeShawn E. avatar Md Adil Ashrafi avatar ioowrq avatar Software Nerd avatar  avatar Christopher Stanley avatar CHENG KUN avatar Cleidival Fernandes avatar Sam avatar George Morkos avatar Ana Oliveira avatar Anurag Pathak avatar Surya mishra avatar SAIFUL ISLAM avatar Óscar C.R avatar Manoj Gawade avatar Pat McCulloch avatar  avatar  avatar Joao avatar ALEX avatar Levi Hayes avatar G Miller avatar Sam avatar Cui Jiahui avatar Krissy Conant avatar ifelajulofasina avatar James Thanawat avatar Daniel Evans avatar Kelly MacLeod avatar KEVIN KHOZA avatar S. M. Anwarul Islam (Raju) avatar  avatar Erika Hågensen avatar Gerry O avatar Andrew avatar Tatsuya avatar Tim Donhou avatar  avatar Nuruddin Kawsar avatar FUTURE avatar

Watchers

Brian Anderson avatar Kristan Krispy Uccello avatar Ismael Marin avatar Stella Miranda avatar Subramanyan Murali avatar  avatar Michaux Kelley avatar Malcolm Landon avatar Richard Hess avatar David O'Halloran avatar Dominik Niehus avatar Martin avatar Stefan Hagen avatar Abhishek Luv avatar zhaolei avatar  avatar Pavel Burov avatar James Cloos avatar Peter Conradie avatar  avatar Viraj G. Kulkarni (विराज गु. कुलकर्णी) avatar Safa Yasin YILDIRIM avatar Syed Haider Abbas Rizvi avatar Dmytro avatar Muhammad Humayun avatar George Wu avatar Tony Brown avatar Quintin  avatar Vitor Rodrigues avatar David McKoy avatar David avatar Aniruddha Verma avatar Shimaa Adel avatar  avatar  avatar kgb4000 avatar  avatar Christopher crowd avatar Robin Smith-Gilbert avatar Marcell Ferenc avatar Benjamin Yee avatar Gabriel Salkin avatar Dimitrios Kalkasinas avatar Jonatan Mata avatar JUNO_OKYO avatar cassio mansini avatar Marcelo Dias avatar Ben Strahan avatar Naveen Setty avatar Andrew Yip avatar Quack~ avatar Joemar Tagpuno avatar Jigyasu Arya avatar Kevin (Yuan) Gao avatar  avatar Victor Learned avatar Alex Lehner avatar Isa Conteh avatar Juliana G P S Ferreira avatar Banta avatar  avatar Caa avatar Jason Gresalfi avatar Ryan Young avatar AlexBeis avatar  avatar  avatar Rahul Y Gupta avatar  avatar  avatar Berto avatar Yassine Alouane avatar shi jun avatar Adrian PHilip Rios avatar Oleg Kolisnyk avatar Adam Knee avatar Maria Marin avatar 旧城之王 avatar Mallikarjun avatar Nicholas Fang avatar Shane Avery Sistoza avatar Moinul Haq avatar Matt Urenovich avatar Pablo dos Santos Alves avatar Andrew S avatar sushanne Gillette avatar Justyna Foster avatar Abdul Aliyev avatar ellison avatar Lex avatar Aliaksei Manhutau avatar  avatar Md mamunur Rashid avatar  avatar Balan Ana avatar Maksim Lisovich avatar Reja avatar Cecil Habermacher avatar Austin avatar Sang Yeop Lee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.