The objective of this project is to learn the fundamentals of the React Context API.
It consists of a language selector which the user can click to switch between English and Spanish to display the user input form and submit button text in their respective languages.
The App uses a LanguageStore class component to wrap and send via this.props.children the current selected language down to the nested children components through the Context.Provider.
- ReactJS
- React Context API
- HTML5
Open a terminal window, go to the location you'd like to add the project and then run the commands below.
git clone https://github.com/noomdalv/react_context_form.git
cd react_context_form
npm install
npm start
Special Thanks to Stephen Grider for his amazing tutorial.
👤 Vladimir Luna
- Github: @noomdalv
This project is MIT licensed.