React js Redux: Adventuring in Javascript

I’ve been playing with React js Redux. It’s pretty easy to understand. I can see how it can help organize my code as an app gets more complex. I took my original code, using only React js to make an AJAX request to the Deck of Cards API and Redux-ify it. Redux keeps the store separate from my display code. A good chunk of it was wiring code. Here are the interesting parts:

The code that requests data was separated from the root display component and now exist as a plain javascript. The only thing the display component is used for is just displaying the data with React js. Now that the easy part is done. Let’s have some fun!

Leave a Reply

Your email address will not be published. Required fields are marked *