Git Product home page Git Product logo

Comments (3)

 avatar commented on July 23, 2024 2

I've been able to workaround this warning (and errors getting thrown from libraries like react-helmet-async) by installing this library from GitHub directly.

This works fine with Yarn but for some reason NPM doesn't want to install all the files on the master branch so I'm still stuck getting this library to work with the new context api because I need to support both Yarn and NPM.

At least its progress of some sort but @ctrlplusb publishing the new version is obviously the correct fix here.

from react-tree-walker.

flyon avatar flyon commented on July 23, 2024

bump.. when will the fix in the master be released as a new version on npm? @ctrlplusb

from react-tree-walker.

stevenewing avatar stevenewing commented on July 23, 2024

Hey there,

I was the original poster of the above ghost message and have a bit of an update.

Got things working and if you need a quick fix for now its pretty simple npm install promotively/react-tree-walker or yarn add promotively/react-tree-walker.

We also tried using react-ssr-prepass but had several issues with it (Haven't used it for a while now so its possible that its far more suitable for production than it was, but at the bottom of the readme it still says its not intended for production usage which makes me think otherwise.

I have since migrated our data fetching library package @promotively/react-redux-data towards using the Provider pattern that other libraries such as react-helmet-async use. This is still a solid solution to the problem at hand and is not going to break in future react releases (with the downside of a double render but that's not really a big deal if you are caching SSR pages as you should be anyway)

As far as actual proper suspense support for SSR is concerned - facebook/react#13206 (Doesn't look like its arriving anytime soon)

from react-tree-walker.

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.