Redux Shouldn’t Hold All Of Your Data

So you're probably aware that you might not need Redux, but maybe Redux is a good fit for your app. That means we should use it for managing all of our application state... right? Wrong. If you followed along with my Building a Web App From the Ground Up series, you probably already are using Redux in [...]Continue reading

Refactoring JQuery to React

JQuery is quickly becoming a thing of the past, and in it’s place stands React. I mean, even John Resig, author of JQuery, uses React now. So how can you refactor your website to use React instead of JQuery?

In this article I’ll show you step-by-step how to refactor a website using JQuery into React, using real examples.

Continue reading

Redux: Drawing the Line Between Actions and Middleware

When I first started out using Redux, I learned very quickly how to use (read: abuse) Redux actions. Actions and middleware used to be simple: if it's synchronous, put it in an action, but if it's asynchronous then you should use middleware. Unfortunately for us, redux-thunk was created. Now don't get me wrong; Thunk is great! [...]Continue reading

User Authentication with Django REST Framework

User Authentication is a simple concept, but when it comes to properly implementing it in Django, things can get complicated. Django offers an abundance of different authentication mechanisms: BasicAuthentication, TokenAuthentication, SessionAuthentication, and various ways to implement custom authentication mechanisms. The introduction of Django REST Framework did great things for Django. However, it introduces another layer [...]Continue reading

5 Tips for Writing Better Python

I’ve been writing Python for some time now, and when I reflect on some of the older code I’ve written… I sometimes cringe. For example, when I was just starting out, I wrote this Sudoku game in python (available on GitHub here). I thought that this was one of my better pieces of work at [...]Continue reading