Live data from Hacker News

Preact, a fast 3k React alternative

developit.github.io

11–20 of 142 posts

Re: Preact, a fast 3k React alternative

#12
Oh another JavaScript framework. Of course the world needs that.

If I was recommending a development path to a young developer I would have to say choose the "dark side" and become an app developer and let Apple / Google feed you your framework. Don't waste your time on the web - you'll waste your life learning this weeks flavor of the month framework while lacking core understanding of the underlying technology ( https://wdrl.info/archive/121 ) and never seeing your code amount to anything but a series of band aid and kludges.

Re: Preact, a fast 3k React alternative

#15
We don't need smaller frameworks, we need more modular frameworks. If the framework is modular you can take what you need, and replace the parts you don't like.

I'm using mercury [0] in my current frontend project for this purpose. Most of the features of React, none of the commitment. Every single component is interchangeable; the core repository is simply an index.js requiring other modules, which can be depended on individually if you're not looking for a kitchen sink solution.

[0] https://github.com/Raynos/mercury

Re: Preact, a fast 3k React alternative

#16
post #12

Oh another JavaScript framework. Of course the world needs that. If I was recommending a development path to a young developer I would have to say choose the "dark side" and become an app developer and let Apple / Google feed you your framework. Don't waste your time on the web - you'll waste your life learning this weeks flavor of the month framework while lacking core understanding of the underlying technology ( ht…

It's not another framework. It's not even another library. It's an implementation of an existing library with some features cut out.

Re: Preact, a fast 3k React alternative

#17
post #12

Oh another JavaScript framework. Of course the world needs that. If I was recommending a development path to a young developer I would have to say choose the "dark side" and become an app developer and let Apple / Google feed you your framework. Don't waste your time on the web - you'll waste your life learning this weeks flavor of the month framework while lacking core understanding of the underlying technology ( ht…

Silly downvoters: they are responding to your tone rather than the content of your post.

Anyway, for sure there is a tonne of cruft and confusion when starting a new js project(SPA app) nowadays. Esp if you want to use react: it's one of the blessings/curse of using a library vs a framework.

If, however, you stop looking for the "right" way to do things by reading blog posts etc,and just take the easiest path with react, then redux and webpack will take you far enough.

Re: Preact, a fast 3k React alternative

#18
post #12

Oh another JavaScript framework. Of course the world needs that. If I was recommending a development path to a young developer I would have to say choose the "dark side" and become an app developer and let Apple / Google feed you your framework. Don't waste your time on the web - you'll waste your life learning this weeks flavor of the month framework while lacking core understanding of the underlying technology ( ht…

It's not another framework. It's not even another library. It's an implementation of an existing library with some features cut out.

We have so many choices in the javascript ecosystem that it's pretty impossible to make a meaningful choice.

But, it's very possible to lose time trying to figure out what you "should" choose or even what your choices might be.

And since that's what the parent is bemoaning, your distinction is pretty useless.

Note: If you want to use react then the correct choice is react + redux + webpack. If you want to validate a startup idea, then the correct choice is jquery :)

Re: Preact, a fast 3k React alternative

#19
post #17
post #12

Oh another JavaScript framework. Of course the world needs that. If I was recommending a development path to a young developer I would have to say choose the "dark side" and become an app developer and let Apple / Google feed you your framework. Don't waste your time on the web - you'll waste your life learning this weeks flavor of the month framework while lacking core understanding of the underlying technology ( ht…

Silly downvoters: they are responding to your tone rather than the content of your post. Anyway, for sure there is a tonne of cruft and confusion when starting a new js project(SPA app) nowadays. Esp if you want to use react: it's one of the blessings/curse of using a library vs a framework. If, however, you stop looking for the "right" way to do things by reading blog posts etc,and just take the easiest path with re…

I downvoted because of both content and tone.

The web is the platform that works across all devices. Sure an app is great when you already use that site, but before they're invested, are people really gonna download an app?

Not to mention that you're heavily reliant on Apple and Google for your framework. With the web, you can use whatever you like, you can even roll your own if you want.

Sure there are a lot of JavaScript libraries, but how else will ideas evolve?

Post reply on HN