Giter VIP home page Giter VIP logo

Comments (9)

paoloricciuti avatar paoloricciuti commented on May 28, 2024

Mmm do you mean in the web container?

from sveltelab.

SarcevicAntonio avatar SarcevicAntonio commented on May 28, 2024

yeah i'm taking a look at the docs for the first time now :D

idk if pnpm alone would be much faster but i think its a good default for projects either way.

from sveltelab.

paoloricciuti avatar paoloricciuti commented on May 28, 2024

Yeah that's what I use generally...can you link the part of the documentation where it explains the caching?

from sveltelab.

SarcevicAntonio avatar SarcevicAntonio commented on May 28, 2024

if its just a pojo we can put it in local storage, no?
there doesn't seem to be a method to get the whole FileSystemTree out again maybe this is intentional? i can probably write a method that does that tho and see if it works :D

from sveltelab.

SarcevicAntonio avatar SarcevicAntonio commented on May 28, 2024

Reading all dependencies takes a load of time, but we only need to do it when it changes, right? πŸ€”

from sveltelab.

SarcevicAntonio avatar SarcevicAntonio commented on May 28, 2024

learn.svelte.dev says it unzips the files when you start it up.
maybe we also can zip the project with dependencies already installed so we dont need to download them using (p)npm on initial and repeat vitis?

from sveltelab.

paoloricciuti avatar paoloricciuti commented on May 28, 2024

Reading all dependencies takes a load of time, but we only need to do it when it changes, right? πŸ€”

Mmm...we can check, I think the node modules folder takes too much space for the local storage tho.

from sveltelab.

SarcevicAntonio avatar SarcevicAntonio commented on May 28, 2024

On Local Storage Size Limit: https://arty.name/localstorage.html
Firefox and Opera can adjust, but Chrome and Safari have a hard limit.
So let's definitely just save files and not the dependencies for now.

from sveltelab.

SarcevicAntonio avatar SarcevicAntonio commented on May 28, 2024

closing as duplicate of #57

from sveltelab.

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.