question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hey, Thanks for the great package. I am trying to use this with Next.js but I get the following error when SSR is happening. Would you consider adding support for isomorphic apps in the future.

ReferenceError: window is not defined
createStore
./node_modules/little-state-machine/dist/index.js:164:9

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bluebill1049commented, Dec 17, 2019

FYI: i haven’t forget about it. I am working on RHF next major version. so i am bit busy i will come back to it tho.

1reaction
tobeycodescommented, Dec 12, 2019

Sorry for the late reply. I will try get that to you in a couple of days. I am a little busy with other things. Not sure if I can get Next.js in a sandbox or SSR though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started Guide | Node.js
Once we have installed Node.js, let's build our first web server. Create a file named app.js containing the following contents: ... Now, run...
Read more >
Node.js Tutorial
Node.js is an open source server environment. Node.js allows you to run JavaScript on the server.
Read more >
The Ultimate Tutorial to Getting Started With Node.js
1. Download the Node.js from https://nodejs.org/en/download/. Select the installer according to your operating system and environment.
Read more >
Build Node.js Apps with Visual Studio Code
Node.js is a platform for building fast and scalable server applications using JavaScript. Node.js is the runtime and npm is the Package Manager...
Read more >
Why the Hell Would I Use Node.js? A Case-by-case Tutorial
Node.js is easily employed as a server-side proxy, where it can handle a large amount of simultaneous connections in a nonblocking manner. It's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found