Thunks in Gutenberg

Gutenberg 11.6¬†added support for thunks. You can think of thunks as of functions that can be dispatched: Why are thunks useful? Thunks¬†expand the meaning of what a Redux action is. Before thunks, actions were purely functional and could only return and yield data. Common use cases such as interacting with the store or requesting API … Continue reading Thunks in Gutenberg