Comments (4)
Okay , I am able to make it work with using __SERVER__
Flag form webpack saying that , require in store only if it is client.
const middlewares = [];
if (!__SERVER__) {
const Reactotron = require('reactotron'); // eslint-disable-line global-require
middlewares.push(Reactotron.reduxMiddleware);
}
from reactotron.
Thanks. Do you know if there's a bootstrap repo out there where I could try using this? I've never created an isomorphic type app. :)
from reactotron.
@skellock I will try to push the bootstrap repo or you can try the same with this boilerplate. So basically you have to make sure you add middleware only on client.
I have added that on document with PR, that worked for me and seems the actual solution.
Let me know if you need more information.
Thanks for the great tool.
from reactotron.
Getting ready to prep a 1.0 launch here, and I probably murdered your PR. Rebasing won't really make sense at this point as it's entirely a new code base.
You're welcome to do another PR, by all means though! Just know that i pulled the rug out from underneath you. =)
Shortly (next week?) I'm going to look into SSR and I'll give you the proper credit when I make any changes.
Thanks for putting this on my radar!
from reactotron.
Related Issues (20)
- redux/toolkit + Reactotron leads to jest error "TypeError: _reactotronConfig.default.createEnhancer is not a function" HOT 1
- Simplify prettier config
- TypeScript errors
- Clearing State subscriptions
- console.log capturing starts not immediatelly
- Bunch of TS errors from reactotron-core-client in a fresh project HOT 5
- Replacing a plugin "redux-saga"
- Cannot delete undefined subscriptions
- Reactotron need highlights
- Question: Save Store/Load Store HOT 1
- Reactotron does not support `BigInt()` HOT 5
- Requiring unknown module "3392". If you are sure the module exists, try restarting Metro. You may also want to run `yarn` or `npm install`
- eactotron/no-tron-in-production not working with curly braces and new lines
- Confusing UI change between 2.17 and 3.7
- Reactrotron not showing redux store HOT 1
- From version reactotron-react-native 5.0.5 HOT 1
- Compiling JS failed: 803620:268:')' expected at end of parenthesized expression Buffer size 35514497 starts with: 766172205f5f42554e444c455f535441 HOT 5
- Add Social Preview to GitHub Settings
- ctrl+enter combo when creating a action dispatch
- Reactotron is empty when i click the timeline 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 reactotron.