https://github.com/arwl2016/hello-react
Udemy course projects - Andrew Mead: Complete React
https://github.com/arwl2016/hello-react
jsx react webpack
Last synced: 3 months ago
JSON representation
Udemy course projects - Andrew Mead: Complete React
- Host: GitHub
- URL: https://github.com/arwl2016/hello-react
- Owner: ARWL2016
- Created: 2017-01-14T00:51:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-20T00:04:58.000Z (over 9 years ago)
- Last Synced: 2025-03-24T07:57:09.742Z (over 1 year ago)
- Topics: jsx, react, webpack
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Complete React Developer Course
https://www.udemy.com/the-complete-react-web-app-developer-course/learn/v4/content
- Udemy
- Andrew Mead
- Section 3
####Contents
1. React Components (with nesting)
2. JSX
3. Props and State
4. Webpack
####General Notes
- This application retreives user input from a form field and renders it to the page, using React refs, props and state.
- CommonJS Modules are used, but webpack config includes the babel-loader (is this needed for JSX?)
- The server applies `app.use(express.static('public'));` but DOES NOT use sendFile(). So the browser grabs `index.html` by default.
- There are two display components, one container component and one root module - `app.jsx`. The root module simply renders the project to the page, but also serves as the entry point in webpack.
- There is no divide between src and dist here, so the use of webpack is not that realistic.