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.

NextJS example wanted

See original GitHub issue

Is your feature request related to a problem? Please describe.

Hi, can you please provide a common example for NextJS setup?

Describe the solution you’d like

Ideally, I want to only install react-context-devtool for NODE_ENV === 'production'. Is there a way to do it via say Webpack in next.config.js?

Describe alternatives you’ve considered

If above is not possible, any working solution with NextJS will satisfy me.

Additional context

Not sure if this matter, I am also using Preact with preact-compat/react, I hope it can work fine with react-context-devtool.

Thanks in advance 🙂

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
deeppatel234commented, Feb 19, 2021

@Vadorequest @ivawzh nextjs support will be added soon. idea is to use devtool without any node module. POC is in progress. will be release soon.

Thanks for your patience, Deep

2reactions
deeppatel234commented, Apr 18, 2021

@ivawzh @Vadorequest @nitrique NextJS support added in new version on react-context-devtool. now you can run this extension without any node module. Thank you for your patience.

Cheers 🍻

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best Next.js Examples in 2023 - Ikius
For example, if you want to create a NextJS app, you can use a library like React Apollo Client to fetch and manage...
Read more >
18 Great Examples of Next.js Websites - Pagepro
We prepared a list with great examples of Next.js websites. Check it out to see the best use cases of Next.js in web...
Read more >
Get Started with Next.js – The React Library Your Project Needs
There you can find examples on how to create the following Next (React) apps: A blog using Markdown / MDX or Wordpress; An...
Read more >
What is Next.js?
Next.js is a flexible React framework that gives you building blocks to create fast web applications. But what exactly do we mean by...
Read more >
The Ultimate NEXT.JS 13 Tutorial (Complete Walkthrough w
Want coding problems (with solutions!) delivered to your inbox daily!?Sign Up Here: https://www.papareact.com/universityofcode Join the ...
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