Closed brc-dd closed 7 months ago
Name | Link |
---|---|
Latest commit | 0ed6c4fb3ba5f5be223347ae8fd808762d9dda01 |
Latest deploy log | https://app.netlify.com/sites/sefirot-story/deploys/66261200f61f290008cb61a9 |
Deploy Preview | https://deploy-preview-519--sefirot-story.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | 0ed6c4fb3ba5f5be223347ae8fd808762d9dda01 |
Latest deploy log | https://app.netlify.com/sites/sefirot-docs/deploys/66261200607b940008b98c86 |
Deploy Preview | https://deploy-preview-519--sefirot-docs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
When assign is false, loading.value will not be set to true before fetching - this is to avoid showing spinner
This can be split to separate option like silent
too for better customization 👀 I don't have any use-case for that though.
@brc-dd
This can be split to separate option like silent too for better customization 👀 I don't have any use-case for that though.
Good point. Now that I think of, maybe it should make loading
to true
even though assign
is false
. Because, we might wanna show loading state while it is calling API 🤔
So yeah, I guess splitting the API to { assign?: boolean, silent?: boolean }
does make sense 👀
updated
Adds
assign
option touseQuery.execute
. It's helpful while implementing functionality like "load more".When assign is false,
loading.value
will not be set totrue
before fetching - this is to avoid showing spinner - and calling execute won't updatequery.data
- one would need to manually merge the returned data with existing one.Example: