diff --git a/src/mixins/widget.js b/src/mixins/widget.js index 11a9f40fb..c3c9b61f7 100644 --- a/src/mixins/widget.js +++ b/src/mixins/widget.js @@ -25,6 +25,11 @@ export const createWidgetMixin = ({ connector } = {}) => ({ const { hydrated, started } = this.instantSearchInstance; if ((!started && hydrated) || this.$isServer) { + if (typeof this.instantSearchInstance.__forceRender !== 'function') { + throw new Error( + 'You are using server side rendering with instead of .' + ); + } this.instantSearchInstance.__forceRender(this.widget); } } else if (connector !== true) {