/* **************************************************************************************************
________ __ .___._.
\______ \ ____ _____________ ____ ____ _____ _/ |_ ____ __| _/| |
| | \_/ __ \\____ \_ __ \_/ __ \_/ ___\\__ \\ __\/ __ \ / __ | | |
| ` \ ___/| |_> > | \/\ ___/\ \___ / __ \| | \ ___// /_/ | \|
/_______ /\___ > __/|__| \___ >\___ >____ /__| \___ >____ | __
\/ \/|__| \/ \/ \/ \/ \/ \/
**************************************************************************************************** */
This is the original project used to develop the React/Redux curriculum for freeCodeCamp. This curriculum has been migrated to freeCodeCamp and will be accessible there from now on. Any issues related to these challenges should be posted in the freeCodeCamp Github. This project is now deprecated and will not be maintained any further. :bomb:
The original challenges (which require an out of date version of Enzyme), will continue living at their original home.
Introducing JSX Elements
Introducing React/Components
Props
defaultProps
on child).includes
test for propTypes
).includes
test for propTypes
)State
Component Lifecycle
Advanced Rendering
Basic Redux: Store, Actions, & Reducers
Enforcing State Immutability
Use react-redux
to Manage a List of Messages
To run this project locally, clone the repository, install the dependencies, and run npm start
. Now you can view all the finished challenges live in the browser.
This project is running tests against React components, ES6 code, and plain JavaScript which users write directly into an in-browser code editor. To accomplish this we are using the Babel standalone package to transpile JavaScript and the testing library Enzyme to conduct tests. At a basic level the tests we're writing for React components generally look like this:
assert(Enzyme.mount(<App />).type() === 'div', 'The component renders a div element');
This project was bootstrapped with Create React App.