GithubHelp home page GithubHelp logo

Comments (4)

mihirsoni avatar mihirsoni commented on May 8, 2024

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.

skellock avatar skellock commented on May 8, 2024

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.

mihirsoni avatar mihirsoni commented on May 8, 2024

@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.

skellock avatar skellock commented on May 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.