WordPress Data Store Properties: Reducer
In the exploration through wp.data, we’ve already created the necessary properties needed to register the custom products store for our example app. This includes, action creators, selectors,...
View ArticleWordPress Data Store Properties: Resolvers
Before we took our side detour into learning about the controls property, I mentioned that since we now have a selector for getting products, it’d be good to implement a way to retrieve the products...
View ArticleWordPress Data Store Properties: Actions
In the previous post of this series, we took a brief interlude to take a look at an app that is using tree state to manage the data the app is using. We discovered that, while the app was functional,...
View ArticleWordPress Data Interlude: Let’s talk Apps
In the last post I gave you a quick overview of the api for registering a new data store. I mentioned that this next post would take a closer look at the individual properties of a store, but before...
View ArticleWordPress Data: How to Register a Custom Store
The primary way in which you interact with state in wp.data is through a registered store. In this post we’re going to give an overview of the api for registering a store and then subsequent posts...
View ArticleWhat is WordPress Data?
The WordPress data module (or package) is a critical component of the new WordPress Editor as demonstrated by it’s implementation in (at the time of writing) 7 other WordPress packages:...
View ArticleWordPress Data Store Properties: Action Creator Generators
Now we have a resolver for asynchronously getting products via a REST api endpoint, we have some action creators, and we have a selector. We haven’t got to the reducer yet, but before we get to it,...
View ArticleWordPress Data: Registry
At various places so far in this series, you would have seen me use phrases like: “registered store within the current registry”“current registry dispatch” or “current registry select” I’ve also...
View ArticleOne Year Later, a Reflection on becoming an Automattician
For those who follow me on twitter you may recall a post I tweeted just over a year ago: Some interesting news: I've been hired by @automattic. I'll post more on it some time later, but just thought...
View ArticleLittle update to wp.data series
Roughly three years ago I started writing a series of posts on the wp.data API. Little did I know how valuable this post would be to so many people within the WordPress community (and at my current...
View Article
More Pages to Explore .....