Comments (5)
@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
from react-context-devtool.
@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 🍻
from react-context-devtool.
@deeppatel234 Any idea how to do this? 😄
from react-context-devtool.
Awesome, thank you for the quick feedback!
from react-context-devtool.
Hi @ivawzh, I do that way (but maybe we have a better way to do it)
export const UserProvider: FunctionComponent = ({ children }) => {
const isDev = global._REACT_CONTEXT_DEVTOOL
// ... other code
return (
<UserContext.Provider
value={{
authenticated,
setAuthenticated,
cart,
addToCart
}}
>
{isDev && (
<ContextDevTool
context={UserContext}
id="userCtx"
displayName="Current User"
/>
)}
{children}
</UserContext.Provider>
)
}
from react-context-devtool.
Related Issues (20)
- TypeError: Cannot set properties of undefined (setting 'hook') HOT 3
- react context devtool not wroking for me HOT 2
- example
- React is not found in this page. if this seems wrong please create issue. Same as issue #62 HOT 2
- TypeError: Cannot set properties of undefined (setting 'hook') HOT 1
- React context devtool
- React Context DevTool HOT 1
- Doesn't recognise react application on OperaGx HOT 2
- React is not found in this page, if a frame in the page uses react HOT 7
- new HOT 1
- it not found a page HOT 2
- this extension doesn't work and show not react website error message in react page HOT 6
- Switch isn't responding as a member of react-router-dom HOT 1
- Merda isso chato pra prr
- g HOT 1
- https://github.com/deeppatel234/react-context-devtool/issues#:~:text=deeppatel234/react%2Dcontext%2Ddevtool%3F
- npm install react-virtualized --save
- extension don't working in preact project. HOT 3
- The addon makes my app log `Too many recursion` and `TypeError: cyclic object value`
- React is not found in this page.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-context-devtool.