Follow

Hmm, Preact is looking like a much better option today than in my last evaluation of it

· · Web · 1 · 0 · 2

@joepie91 because of native signals or because you can use function components now?

@joepie91 sorry, i might’ve confused the introduction of hooks with function components, the latter might have been possible quite a long while ago and i’ve never checked that. still curious what about today preact made your evaluation result higher

@miyuko It doing hooks now is a big one, but last time I looked there also didn't seem to be any (well-documented, at least) support for server-side rendering (which is quite important to me - I use React as a server-side templater primarily!), and IIRC it used to have a much stronger "absolute smallest possible subset of features" philosophy, whereas now it seems to be a more reasonable "no unnecessary things but also not unnecessarily minimal".

Signals were a nice bonus that I only found out about later :)

@miyuko I guess to phrase it differently: Preact used to come across to me as a very... "toxic minimalism" project, whereas nowadays it seems much closer to the "React but without genuinely unnecessary complexity" that I actually wanted

@joepie91 the dev team seems to be paying a lot of attention to server-side rendering performance nowadays, I never realized preact missed it. thanks for your perspective :) react is quite chunky for a template engine, but in my opinion preact would fit the bill perfectly.

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.