GithubHelp home page GithubHelp logo

Comments (8)

CasianBlanaru avatar CasianBlanaru commented on May 28, 2024 2

Sorry for the late reply. I was able to fix the problem I built it with Vue and webpack 5 and had a wrong setting in the store ;-) Thanks for the support :-)

from lazy-load-list.

omer73364 avatar omer73364 commented on May 28, 2024

Hi Casian, can please share your code of using the component..
perhaps you passed wrong data

from lazy-load-list.

CasianBlanaru avatar CasianBlanaru commented on May 28, 2024

Bildschirmfoto 2022-10-03 um 19 25 19

from lazy-load-list.

CasianBlanaru avatar CasianBlanaru commented on May 28, 2024

Bildschirmfoto 2022-10-03 um 19 22 15

from lazy-load-list.

CasianBlanaru avatar CasianBlanaru commented on May 28, 2024

Hello omer73364 I hope this is enough ?

from lazy-load-list.

CasianBlanaru avatar CasianBlanaru commented on May 28, 2024

In the frontend 10 items are displayed but the error occurs:
Bildschirmfoto 2022-10-03 um 19 30 51

from lazy-load-list.

omer73364 avatar omer73364 commented on May 28, 2024

that's strange.. everything is OK, itemsToDisplay is an array but it cannot destruct it 🤔
whats your environment (vue version, bundler.. etc)?

and if you can debug it deeper will be OK to know the exact reason of this error

from lazy-load-list.

Surt avatar Surt commented on May 28, 2024

Hi,

same problem for me. It displays the first "page" but then it fails with the same error.
I'm doing nothing fanzy, just printing the "item.id" on a p tag. (from an array of objects)

I'm using nuxt 2 but I just import the Vue component and use it as normal. I doubt the environment has a play here.

EDIT: yep, it is environment. It seems that the problem resides in nuxt trying to use the component in SSR (where data is still not available). The watch is the one responsible for showing the first page.

from lazy-load-list.

Related Issues (3)

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.