Tom
When using useFetch with a watcher is it possible to keep data until the new query has a response?
I'm using the new 3.7 logic for fetching:
When the key changes, e.g. doing pagination, the data is reset to
null
until the new data is fetched. This is causing the UI to disappear for a split second until the new data is fetched, it's very jarring. Is it possible to prevent this from happening and it to wait for the new fetch to finish before replacing the data.5 replies
resolveComponent not working as expected
Returns
BlockContentSection
Block2
renders Block
gives error Failed to resolve component: BlockContentSection
The template code is
I'm unsure why this is happening. Why Block
doesn't and Block2
does, other than it will only accept a direct string in to resolveComponents
but that defeats the purpose of them being dynamic.5 replies