The view from my Airbnb in Amsterdam 🛶
For months I had been looking forward React Amsterdam. With 1500+ attendees, a killer lineup, and all in an amazing city to boot, what’s not to be excited about?
I flew in from warm, warm (think up to 100 degrees in the middle of the day) southern Vietnam to the north of the Netherlands, where it was in the 30s in the morning 🥶. Silly me for thinking it would be like April in New York 😅.
On the agenda for my first full day there was Kent Dodd’s Advanced React Patterns…
It’s a great introduction to Context, and he very neatly lays out the primary use cases for it. For example, when you simply want to share data between nested components without constantly passing props down.
Yet he brings up an issue that I have seen in other places as well- namely that it does not provide the convenience that these aforementioned libraries do.
There seems to be an…
In part 1 of this post, we went over the fundamentals of state and props in React by building a basic blogging post app. If you are familiar with React basics, feel free to skip the last one and just go through this post.
If you haven’t, you will want to clone the repo, and checkout to the branch
2-edit-form-with-props. This branch brings us to the point that we ended with in the last post.
We go forward with brief modularization. To recap, we have an App component with Post and EditForm subcomponents. …
Update: Part 2 of this post, featuring context, has been published! Feel free to skip part 1 if you are already familiar with React basics.
Since the release of React 16, we have been introduced to quite a few new features. There’s even more coming up, but some new features that are out of beta are already enough to keep our minds full.
Specifically, I want to talk about context, a feature that has the potential to completely upend React development.
To be completely clear, context is not exactly a new feature. In fact, context has been around for a…