React, Redux, create-react-app Tutorial - Hello World Input Field
- Categories:
- javascript
Update 2020-05-10: This tutorial is based on old version React JS, not sure if this tutorial is still working.
This article will explain how do I create React JS application with Redux and create-react-app. The goal is to make hello world application with input field.
I assume you already understand basic React JS, Redux, and create-react-app. I am still learning React JS, Redux, and create-react-app, so any feedback is appreciated. I hope this example application makes you easier to learn react redux.
Github repository: https://github.com/kuntoaji/hello-world-input-field
Tutorial
Install create-react-app and create Application with create-react-app
.
Move to project directory, Install redux and react-redux.
Create Reducer.
Create Action.
Create container component.
Make the Redux store available to the connect()
.
Edit src/App.js
to accept props
from Redux.
Done. Start server with npm start and open localhost:3000.
Github repository: https://github.com/kuntoaji/hello-world-input-field
- Tags:
- #react
- #redux
- #javascript
Recent Posts
How to Defend Against Brute-Force and DoS Attacks with Fail2ban, Nginx limit_req, and iptables
In this tutorial, I’ll explain how to protect your public-facing Linux server and Nginx web server from common threats, including brute-force and DoS attacks.
Is Getting AWS Solutions Architect Associate Certification Worth It?
If you are a full-time Software Engineer, there's no strong need to pursue this certification.
DevSecOps
My Notes about DevSecOps
AWS Secrets Manager
Explanation about AWS Secrets Manager with example code.
Envelope Encryption
Envelope encryption is the practice of encrypting plaintext data with a data key, and then encrypting the data key under another key.