Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

feat(ssr): prevent initial network request #1106

Merged
merged 3 commits into from
Jan 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"release": "shipjs prepare"
},
"dependencies": {
"algoliasearch-helper": "^3.1.0",
"instantsearch.js": "^4.25.0"
"instantsearch.js": "^4.34.0"
},
"peerDependencies": {
"algoliasearch": ">= 3.32.0 < 5",
Expand All @@ -67,6 +66,7 @@
"@wdio/spec-reporter": "^5.11.7",
"@wdio/static-server-service": "^5.11.0",
"algoliasearch": "4.0.1",
"algoliasearch-helper": "3.6.2",
"babel-eslint": "10.0.1",
"babel-jest": "23.6.0",
"babel-preset-es2015": "6.24.1",
Expand Down Expand Up @@ -114,7 +114,7 @@
"bundlesize": [
{
"path": "./dist/vue-instantsearch.js",
"maxSize": "54 kB"
"maxSize": "56.50 kB"
},
{
"path": "./dist/vue-instantsearch.common.js",
Expand Down
2 changes: 1 addition & 1 deletion src/mixins/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const createWidgetMixin = ({ connector } = {}) => ({
this.getParentIndex().addWidgets([this.widget]);

if (
this.instantSearchInstance.__initialSearchResults &&
this.instantSearchInstance._initialResults &&
!this.instantSearchInstance.started
) {
if (typeof this.instantSearchInstance.__forceRender !== 'function') {
Expand Down
Loading