DEMO : https://sopyanalansory.github.io/catch/
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.
- cd into
catch-of-the-day
and follow along with the videos
The stepped-solutions
Each folder contains the files for the beginning of each 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.
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.
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.
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 syntax highlighter instead
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!
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'
.
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've written indepth over at WesBos.com/uses
- Theme + Colour Scheme → Cobalt 2
- JS Syntax Highlighting → Babel
- HTML + CSS Shortcuts → Emmet — You can get emmet working with JSX here