Better HN
topnewbestaskshowjobs
Log inSign up

saddam96

11 karma · joined Apr 14, 2019 (7y ago) · 13 submissions

Submissions

1.

A web framework that uses React Hooks for declarative data persistence(github.com ↗)

2 points · by saddam96 · 6y ago · discuss

comment 6y ago · link · parent

It's great to hear you use plain JS for most of your projects when there are so many frameworks out in the world. In these times, developers are often fooled into thinking their applications won't 'scale' if they don't use frameworks or opinionated UI patterns.

This is why even the most basic of web applications will be using a framework (I'm not referring to Web Components consumers).

Sometimes, said frameworks and patterns become convoluted and make things cumbersome. On top of that, many will be using bundlers, transpilers for syntax and polyfills, etc. Of course, some of these frameworks are not so tied to build tools and will have ESM support, but the convention is what will strictly differ.

Nevertheless, with some abstractions, frameworks make building web applications fun. However, those abstractions should not be a cause for users paying a hefty price when performance kicks in. Most of the time, these frameworks won't give you a choice. "You pay for what you use" sorta thing.

I really like your conclusion and I totally agree frameworks fit somewhere (large, actually). I just don't get why shipping bulk JavaScript is a price we have to pay. That is why Preact and Svelte have an upper hand in this case.

My take: I'd rather use Vanilla for building my projects instead of a combination of:

1. React with ReactDOM, ReactRouter, React-X, React-Y, React-Z

2. Angular and RxJS

3. Ember with GlimmerVM

comment 6y ago · link · parent

Truly. The fact that React devs are more concerned over API elegance, ergonomics and other niceties reveal how much Vanilla is needed.

Vanilla might be ugly sometimes, but you can bet on it when Web development is concerned. :)

4.

Unopinionated framework faster than everything (0kb raw and gzipped)(github.com ↗)

22 points · by saddam96 · 6y ago · 7 comments

5.

Toxic JavaScript Bundler Community Exposed(reddit.com ↗)

1 points · by saddam96 · 6y ago · 1 comment

comment 6y ago · link · parent

Superb project. Did you try comparing against Packem. We leverage Rust as a backend for the bundling and resolving phases:

https://packem.github.io

7.

Minimalistic UI components for your React apps(github.com ↗)

1 points · by saddam96 · 6y ago · discuss

8.

Easily Uneject CRA Projects(github.com ↗)

2 points · by saddam96 · 6y ago · discuss

comment 7y ago · link · parent

Finally, Packem v0.2 is released! Leveraging a compiled context mechanism for bundling your source code.

10.

Releasing Packem v0.2-pre-alpha(packem.github.io ↗)

1 points · by saddam96 · 7y ago · 1 comment

comment 7y ago · link · parent

Packem is a precompiled JavaScript bundler implemented primarily in Rust. It's faster than webpack and Parcel while still being relatively new. Packem uses Node C/C++ addons which includes Packem's core into Node's general runtime.

Learn more about Packem here: https://packem.github.io

12.

Packem: Experimental bundler +2X FASTER than ParcelJS(github.com ↗)

2 points · by saddam96 · 7y ago · 1 comment