2025-04-11 Data in the Block Editor with @wordpress/data (part 4) - 2 of 2

Опубликовано: 17 Апрель 2026
на канале: JuanMa Garrido
41
2

Let's continue our exploration of the @wordpress/data package to access data in the Block Editor. We'll continue building the app from the course "Using the WordPress Data Layer"

https://learn.wordpress.org/course/us...

00:00 Continuing with the project and deleting WordPress data records
02:28 Creating the Delete Page button component
05:40 Reviewing Button React components and Storybook documentation
08:25 Implementing the delete action using deleteEntityRecord
09:08 Overview of the WordPress global object and data package usage
13:17 Locating selectors and actions documentation
15:39 Observing Redux actions and REST API interaction
20:06 Recap: React application state changes after deletion
25:00 Using the useDispatch hook for delete operations
28:46 Implementing a spinner component for delete actions
31:03 Detailed explanation of useSelect hook and state management
35:02 Debugging and resolving issues with useSelect implementation
40:39 Testing spinner behavior during deletion
41:21 Error handling with selectors (getLastEntityDeleteError)
45:17 Implementing notifications with Snackbar component
47:08 Displaying notifications using a React component
52:01 Dispatching notifications using the notices store
55:43 Testing and handling deletion errors with Snackbar notifications
01:00:58 Code organization and refactoring React components
01:06:58 Final testing and troubleshooting
01:10:38 Styling improvements and final application test
01:15:18 Completion and project review
01:16:01 Exploring user permissions management example
01:22:03 Next session ideas and wrap-up

#english #stream #wordpress #programming #wordpressdeveloper #wordpressdevelopment