Skip to content

🐜 Fix duplicate queries performed with useGet utility

Compare
Choose a tag to compare
@marshallswain marshallswain released this 07 May 20:07
· 250 commits to master since this release

The useGet Composition API utility was running multiple queries when both an id and params were passed. This update turns on lazy mode by default and performs a single query during setup. This makes it so a single query runs at startup and subsequent queries run when either the params or id change.