Coder Social home page Coder Social logo

Documentation about svelto HOT 1 OPEN

pwFoo avatar pwFoo commented on June 14, 2024
Documentation

from svelto.

Comments (1)

fabiospampinato avatar fabiospampinato commented on June 14, 2024

Thanks! :)

Unfortunately I don't currently have the time for writing the docs... you know it's quite a big project, and it's not clear to me if it would get people excited enough to use it for their projects. The docs will have to wait until I finish some other stuff currently on my plate.

Dependencies? Cash?

It depends on Cash (4kb gzipped) (which I'm also maintaining) or jQuery (30kb gzipped), lodash, Modernizr, and some polyfills if you need it to work on IE 10 and stuff.

I'm currently making partial builds of some of those, so for instance in a project of mine cash ends up weighing about 3.5kb, another 3.5kb for lodash, and about 10kb for the polyfills (unfortunately the way core-js makes these bundles is not optimal zloirock/core-js#388).

How compare it to other frameworks like bootstrap (size, performance)?

Before writing Svelto I thought about using Bootstrap and its plugins, but the problem with that was that all those plugins do not really work well with each other, they end up rewriting the same stuff, they don't take into account what other plugins are currently on the page... and being not written by the same guy all of them are kind of inconsistent with each other (both in style and API design).

Svelto, on the other hand, is monolithic, it's jam packed with features, it has everything I need and everything is designed consistently.

Svelto supports partial builds, so you can use as much or as little of it as you want.

Svelto is bundled with pacco, which is a bundler that I made that was previously part of this repo. This enabled a whole new level of customizability that you just don't get with Bootstrap, you can write your website-specific web framework on top of Svelto, overriding variables, overriding specific files, adding components and all that.

Performance is good, I think I've optimized it pretty heavily in these years.

Ps. in the published demo everything that interacts with the server (like remote popovers etc.) is broken because I'm emulating a server with service workers, and they don't work on non-https domains, it works on localhost though.

from svelto.

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.