-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(queryObserver): add isInitialLoading derived flag (#4244)
* feat(queryObserver): add isInitialLoading derived flag this flag describes isLoading && isFetching and can be used to show a loading spinner for lazy or disabled queries * chore(ci): fix caching apparently, v3 has a fix: actions/setup-node#543 * chore(ci): properly fix token issue as described here: https://stackoverflow.com/questions/52015748/npm-failed-to-replace-env-in-config-npm-token he extra warn output made the caching fail * chore: fix bundlewatch glob * docs: add a section about isInitialLoading to the migration guide
- Loading branch information
Showing
13 changed files
with
59 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,16 @@ jobs: | |
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.14.2 | ||
registry-url: https://registry.npmjs.org/ | ||
cache: 'pnpm' | ||
- run: | | ||
pnpm --filter "./packages/**" --filter query install | ||
pnpm --filter "./packages/**" --filter query --prefer-offline install | ||
git config --global user.name 'Tanner Linsley' | ||
git config --global user.email '[email protected]' | ||
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" | ||
pnpm run cipublish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,12 @@ jobs: | |
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: 'pnpm' | ||
- name: Install dependencies | ||
run: pnpm --filter "./packages/**" --filter query install | ||
run: pnpm --filter "./packages/**" --filter query --prefer-offline install | ||
- run: | | ||
pnpm run test:ci | ||
pnpm run test:size | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters