TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The most feature-rich template library for JavaScript that fits in 510 bytes

3 pointsby icharalaover 8 years ago
For the past few weeks I was developing a project for an IoT device that had an embedded web server. The bad thing about these devices is that they have only about 4kb of flash memory and even a single extra byte can cost you precious program memory.<p>So, one of the challenges I had to face is how to fit the most advanced Web UI I have ever built in about 1Kb (CSS+HTML+Js)?<p>Guess what? It seems that you can fit most of the nice core features of React.js in only 510 bytes!<p>https:&#x2F;&#x2F;github.com&#x2F;wavesoft&#x2F;dot-dom<p>Of course you could fetch your libraries as an external resources, but what&#x27;s the fun on that! -- Not to mention the case where you have no internet but only a point-to-point wifi connection.

no comments

no comments