DEV Community

Cover image for Power in tiny libraries
Maksim
Maksim

Posted on

Power in tiny libraries

Hello there!

Weight of your client side bundle is very important for best user experience. Users do not like to wait. For this purpose I am interesting to find tiny analogs of most popular libraries. I know next ones:

Do you know something else?

Latest comments (23)

Collapse
 
giorgosk profile image
Giorgos Kontopoulos 👀 • Edited

swiper.js 128k minified >

Bootstrap > plain CSS/CSS3 😛

Collapse
 
koriolis profile image
Nuno Ferreira • Edited

lodash -> micro-dash
jQuery -> cash
styled-components -> goober

React -> Svelte 😛

Collapse
 
cristianbote profile image
Cristian Bote

Hey Nuno, thanks for the shout-out! 👍🙂

Collapse
 
koabrook profile image
Koa

I completely agree with this. The web needs to get lighter and easier to navigate especially as new countries begin to get online!

Collapse
 
jovidecroock profile image
Jovi De Croock

For forms Hooked-form
Also for urql there's now an implementation that just integrates with Preact, Preact-urql

Collapse
 
pakastin profile image
Juha Lindstedt

Also check out redom.js.org 😎

Collapse
 
0xdonut profile image
Mr F.

Thanks Maxim, that's a nice bunch of suggestions!

This is a bit out of date, but some decent little nuggets in there :

microjs

Collapse
 
pretaporter profile image
Maksim

Yep, very cool project. Unfortunately last merge requests stuck.

Collapse
 
ravavyr profile image
Ravavyr

Always felt the big libs/frameworks were overkill for most sites.
For building small sites, I created github.com/Ravavyr/taino-js [Check the README for the 4 step setup]
It's open for anyone to play with, i'm in the process of creating sample sites that are actually fully built sites to use as tutorials since that's something the frameworks have been terrible at doing too. Also SEO functionality and routing are built in. Zero NPM installs. You need live-server or whatever you use to run a SPA and point it to index.html. Try it it out and if you do i'd love some feedback :)
It's used on taino.netlify.com [though netlify is apparently down right now]

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
pretaporter profile image
Maksim

Nice try) but no)))

Collapse
 
juancarlospaco profile image
Juan Carlos

Bootstrap ➡️ Spectre / Bulma
Webpack ➡️ Parcel
Jquery ➡️ Nothing
TypeScript ➡️ Nim

Collapse
 
ilyalesik profile image
Ilya Lesik

lodash -> lodash-es
lodash-es -> clone-deep if only cloning needed

Collapse
 
tracker1 profile image
Michael J. Ryan

fclone ;-)

Collapse
 
pretaporter profile image
Maksim

Amazing!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.