GithubHelp home page GithubHelp logo

[Bug?]: HydrateRoot and TypeError: Cannot read properties of undefined ... at Object.prerenderLoader on whichever page first loads about redwood HOT 5 CLOSED

nivivive avatar nivivive commented on June 15, 2024
[Bug?]: HydrateRoot and TypeError: Cannot read properties of undefined ... at Object.prerenderLoader on whichever page first loads

from redwood.

Comments (5)

dthyresson avatar dthyresson commented on June 15, 2024

@Tobbe I think you may have helped on the related community post β€” any ideas here?

from redwood.

Tobbe avatar Tobbe commented on June 15, 2024

@nivivive You say it's not happening locally. Is that true even if you do yarn rw build and then yarn rw serve?

Is there anywhere else in the Redwood app that's hydrating and/or prerendering the app even if none of our routes have 'prerender' tag? How do we debug further?

Nothing is prerendered by default.
Can you reproduce the issue reliably on your own? Or have you only seen it in Datadog? If you can reproduce on your own, could you please try turning off JavaScript in your browser, navigate to a page that would show the error, and then copy/paste the html you get back from the server here, so that I can see it?

from redwood.

nivivive avatar nivivive commented on June 15, 2024

Sorry for the delay here. I am able to reproduce the issue reliably, but as I'm trying to get the html you requested, I discovered a weird thing that I'm trying to troubleshoot and I'm wondering if that's what is causing the core issue. I'll let you know more as soon as I find out

from redwood.

nivivive avatar nivivive commented on June 15, 2024

Was able to mitigate the issue - we think it had to do with third party settings

from redwood.

dthyresson avatar dthyresson commented on June 15, 2024

Was able to mitigate the issue - we think it had to do with third party settings

@nivivive Glad it’s behaving better. Could you elaborate on what that third party might be so we can know for the future of people see this behavior we can ask β€œDo you have X setup?”

Thanks!

from redwood.

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.