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
Building a Web App From the Ground Up: Developing a React.js Frontend for your API — Part 4
This post is part of a series of mine on building web applications from the ground up. It covers everything you need to know to completely finish a web application. If you haven't been following the series, please go back and read part 1. Recap In part 3 of this series, we made a RESTful API [...]Continue reading
Building a Web App From the Ground Up: Getting Started — Part 1
So you want to build a web app. Well what's stopping you? If you're reading this, you've probably already been programming for some time, but you're just missing some of the steps. I've been there before. I know how frustrating it can be to know 70% of what you need to do to build a [...]Continue reading