Coder Social home page Coder Social logo

Comments (7)

triptec avatar triptec commented on April 27, 2024 1

No and not sure if there’s a simple solution either, I’ve since moved on from cypress to playwright.

from indie-stack.

triptec avatar triptec commented on April 27, 2024

I've been debugging this as it makes our e2e test flaky due to re-renders and with that we get detached elements.
Here's some discussion discussion

Could the problem be that cypress injects quite a lot of stuff into the html?
https://github.com/cypress-io/cypress/blob/master/packages/proxy/lib/http/response-middleware.ts#L540

That's my prime suspect as I don't have any problems with hydration outside of cypress.

from indie-stack.

triptec avatar triptec commented on April 27, 2024

If I disable the code injection cypress (skip the MaybeInjectHtml middleware) does I don't get any hydration errors, that also breaks cypress.

from indie-stack.

ConorTighe avatar ConorTighe commented on April 27, 2024

Did you ever fix this?

from indie-stack.

awweather avatar awweather commented on April 27, 2024

@triptec I have encountered the same issue. No workaround right now, will consider moving on from cypress

from indie-stack.

charesbast avatar charesbast commented on April 27, 2024

The issue is not tied to the indie stack actually, but I'm not sure the issues here have the same visibility as those in the remix main repository. Still no answer from the dev team 😢

Should we move the issue to the main repo ? 🤷🏻‍♂️

from indie-stack.

antonkri97 avatar antonkri97 commented on April 27, 2024

Relates to remix-run/remix#4822

I think this can be closed

from indie-stack.

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.