Move Nav block fallback JavaScript API fetch
call to Core Data and sideload entities into store
#50002
Labels
[Block] Navigation
Affects the Navigation Block
Currently the API call to fetch fallbacks is inlined in the Nav block
edit.js
file. This needs to be moved into Core Data as a selector/resolver.In addition, the endpoint should be called with
?_embed
so that the full Nav Menu post object is returned in the_links
section of the response.We should then sideload the entity into the Core store with the aim of achieving a single network request to:
Currently this requires two network requests.
The text was updated successfully, but these errors were encountered: