Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pjlamb12/react-for-beginners
This is my copy of the files for the React for Beginners video tutorial from Wes Bos
https://github.com/pjlamb12/react-for-beginners
Last synced: 12 days ago
JSON representation
This is my copy of the files for the React for Beginners video tutorial from Wes Bos
- Host: GitHub
- URL: https://github.com/pjlamb12/react-for-beginners
- Owner: pjlamb12
- Created: 2015-11-17T06:27:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-18T07:00:01.000Z (about 9 years ago)
- Last Synced: 2024-05-01T12:35:38.664Z (8 months ago)
- Language: JavaScript
- Size: 768 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
![](http://wes.io/dgAQ/content)
# React For Beginners — [ReactForBeginners.com](https://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.
## :point_right: :point_right: :point_right: :point_right: To Start :point_left: :point_left: :point_left: :point_left:
1. Copy or the first folder to `catch-of-the-day`
2. cd into `catch-of-the-day` and follow along with the videosEach folder contains **only the changed files** for each video, 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
#### :question: Where are folders `2`, `3`, and `8`?
Not all the videos have significant enough code changes to warrant an entire folder. Although you should be coding them all yourself, the code is available in the next video's folder.#### :question: I tried installing the Babel syntax highlighter but it didn't work!
There are a few possible options:
* If you are on Sublime Text 2, you should Upgrade to Sublime Text 3.
* Some users have reported restarting works
* You can try the [JavaScript Next](https://packagecontrol.io/packages/JavaScriptNext%20-%20ES6%20Syntax) syntax highlighter instead#### :question: I can't set Babel as the default syntax highlighter!
Make sure you are in a file with the extension of `.js` before you do this step - you can't set the default for a file without having a file open!
#### :question: I can't see the React tab in my dev tools
Restart your dev tools or your chrome browser entirely
#### :question: What Sublime Text Packages are you using?
* Theme + Colour Scheme → [Cobalt 2](https://packagecontrol.io/packages/Theme%20-%20Cobalt2)
* JS Syntax Highlighting → [Babel](https://packagecontrol.io/packages/Babel)
* HTML + CSS Shortcuts → [Emmet](https://packagecontrol.io/packages/Emmet)#### :question: What is your terminal theme?
It's ZSH + Cobalt2 for iTerm2. I did a whole video series on it → [CommandLinePowerUser.com](http://commandlinepoweruser.com/)
#### :question: I'm getting a weird error when I try run Gulp or any of it's tasks
Make sure you have the latest Node and NPM installed. If you run `node -v && npm -v` and get anything less than 4.0 and 3.0 you should download the installer from to upgrade.
#### :question: How do I use npm without sudo?
Running npm commands with `sudo` may cause security issues. Node and npm works well without super user privileges. Fortunately there is a very easy fix. Please follow the steps on [this article by Pawel Grzybek](http://studiorgb.uk/fix-priviliges-and-never-again-use-sudo-with-npm/). Enjoy using npm without 'sudo' now.
#### :question: The watching isn't working on Ubuntu
This is a known problem with watchify / watching files on Ubuntu. You can switch to polling on Ubuntu for an easy fix.
Open your `gulpfile.js` and change `watchify(browserify(props))` to `watchify(browserify(props), { poll: true })` .