Something as simple as sending a push notification should be one of the easiest parts of building your app. Why then is it so complicated?
Continue readingEjecting to Expo’s Bare Workflow – IOS
I loved learning React Native through Expo. Expo’s managed workflow is so simple and elegant; it makes it easy for any beginner to jump into app development. When building my first app in Expo, I was unable to continue making progress with the managed workflow. I needed to build in-app purchases.
Continue readingRedux 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 readingRedux: 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
What’s the best way to store tokens in Redux?
One problem I've been struggling with lately is: what is the best way to store tokens when using redux? I could store it in the Redux state, but then it wouldn't be there after refresh. I could just store it in the browser's localStorage, but where would I do that? Before I dive into what [...]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
Narrowing Your Focus: The Key to Being a Successful Developer?
Do you have a lot of goals you can't seem to make progress on? I do. Why is working towards too many goals bad? I've recently come to the realization that I can't work towards all my goals and achieve the progress that I need. When you're actively trying to make progress on too many [...]Continue reading
Boost Productivity with the Right Dev Environment
Software Development can be hard on its own, but when your own development environment doesn't work for you it makes it even harder. In the last year or so, I've really come to appreciate the environment I develop in, and I've been able to tailor my environment to make me more productive. In this article, [...]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