When using wp.data.select('core').getEntityRecords(...)
, there is a special selector for loading states wp.data.select('core/data').isResolving(...)
. But what about actual errors -- backend validation errors, servers gone missing, etc? How to get the error data to present proper feedback to the user?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744919626a4601051.html
评论列表(0条)