GithubHelp home page GithubHelp logo

Comments (13)

bztest1 avatar bztest1 commented on May 30, 2024 4

same story if I use <component :is="myDynamicComponentName" />

from components.

kevinmarrec avatar kevinmarrec commented on May 30, 2024 1

Can people confirm that it works during SSR and then fails on client (hydration) ?

I've been able to see good output for less than a second, then when client is hydrated there come the error (hydration mismatching nodes error + unknown custom element)

from components.

algoth avatar algoth commented on May 30, 2024

@pi0 is there a workaround / fix for this. Stuck with this issue. Pls advice

from components.

vampics avatar vampics commented on May 30, 2024

+1

from components.

simpsonphile avatar simpsonphile commented on May 30, 2024

+1

from components.

davidturtle avatar davidturtle commented on May 30, 2024

+1
My head is recursive now.

from components.

LeCoupa avatar LeCoupa commented on May 30, 2024

@kevinmarrec Yes, it works during SSR but fails on client.

from components.

LeCoupa avatar LeCoupa commented on May 30, 2024

I really love this package. Unfortunately, when you have a project with nested components, you have to revert back to basic imports. Just wondering if there is an ETA for fixing this issue?

from components.

fabianwohlfart avatar fabianwohlfart commented on May 30, 2024

+ 1

I also get this error with a plain new nuxt installation and some super basic recursive data:

tree: [
        {
          title: '1',
          tree: [
            {
              title: '1.1',
              tree: [ /* etc */ ]
            }
          ]
        },
       ]

I get my recursive components working with putting the Item, in your case »CaseItem/Array/Object« to lazy: »LazyCaseItem/Array/Object«.
It (the html from it) also gets generated with npm run generate. Is this a safe option?

from components.

StEvUgnIn avatar StEvUgnIn commented on May 30, 2024

Did anyone find any solution or should I downgrade my version of nuxt?

from components.

LeCoupa avatar LeCoupa commented on May 30, 2024

@StEvUgnIn I think you should downgrade. This issue is not fixed yet.

from components.

StEvUgnIn avatar StEvUgnIn commented on May 30, 2024

I am surprised that I meet this issue when I run my custom server based on express and spdy, but not with nuxt internal server...

from components.

StEvUgnIn avatar StEvUgnIn commented on May 30, 2024

I fixed the bug in my project. It was due to babel transpilation. If you are using babel, make sure to disable it on Vue components.

from components.

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.