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