nearprotocol / NEARStudio

IDE for building smart contracts on NEAR Protocol
https://studio.nearprotocol.com
MIT License
67 stars 18 forks source link

Project setup takes too long #145

Open willemneal opened 5 years ago

willemneal commented 5 years ago

By adding more files to the templates, it takes longer for project to becoming usable by the user.

So either we add a loading animation or figure out a way to speed it up.

I've used BrowserFS in the past and I was able to instantiate it with a zip file, which might be faster than a request for each file.

vgrichina commented 5 years ago

I think for now we should have a whitelist of what gets packaged in templates (instead of trying to package all dependencies from node_modules).

vgrichina commented 5 years ago

Other than that files are for some reason loaded sequentially, this likely can be fixed on studio side more or less easily, I'll take a look.

vgrichina commented 5 years ago

@willemneal this shouldn't be a problem anymore in either prod or staging (requests are parallelized).