Skip to content

(refocus) - only use the refocus-exchange in a browser env#1430

Merged
JoviDeCroock merged 2 commits intomainfrom
refocus-browser
Mar 3, 2021
Merged

(refocus) - only use the refocus-exchange in a browser env#1430
JoviDeCroock merged 2 commits intomainfrom
refocus-browser

Conversation

@JoviDeCroock
Copy link
Copy Markdown
Collaborator

Fixes: #1416

Summary

In a node environment do nothing in the refocus-exchange.

Set of changes

  • In a node environment do nothing in the refocus-exchange.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 3, 2021

🦋 Changeset detected

Latest commit: fd01a05

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@urql/exchange-refocus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JoviDeCroock JoviDeCroock merged commit 5da952c into main Mar 3, 2021
@JoviDeCroock JoviDeCroock deleted the refocus-browser branch March 3, 2021 23:33
@github-actions github-actions Bot mentioned this pull request Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refocusExchange causes "window is not defined" crash with nextjs ssr

2 participants