Enhance – HTML-first full stack web framework
enhance.dev
enhance.dev
I'm not sure what drives developers to be so insular with thought and make so many assumptions about others. It seems like basic gate-keeping activity, but maybe it's just ignorance.
You don't get to this size because it's so hard. People aren't joining JS for the relatively low prestige, they aren't joining because the paycheck compares any better to any other part of the industry, and they aren't joining because of any promise of intellectual development — they're joining because it's the most accessible doorway in the tech community today.
There's no other part of the industry that's so clogged with amateurs trying to join.
The only other industry I can think of which is so hot in its community energy would be Python and ML, but they appeal with a different set of values. ML is hot because it's prestigious, ML is hot because the job market is insanely hot, ML is hot because it promises boundless intellectual exploration.
I just think that if you are saying so boldly that you don't need to use Javascript, then maybe your first example should be without Javascript?
FWIW I kind of feel like “no js” may be a pipe dream today. I see a lot of talk about it but very few sites actually do it; there just seems to be a lot of pressure to use the next big JS framework in the community.
Also analytics and so forth.
Jokes aside, it's a full stack framework, you need some server-side language. It's the served html that is (optionally) javascript-free.
Sure, not exactly "pure", but the point was basically to make it look like that.
https://dev.to/thormeier/dont-try-this-at-home-css-as-the-ba...
We already solved the CSS-as-a-backend problem. Too easy!
Jokes aside, this is every bit as unsurprising and dumb as I had hoped it would be. It's perfect.
How about this example?
https://github.com/enhance-dev/enhance-starter-project/blob/...
This just comes off as a ploy to hijack the meaning of HTML.
Maybe it is “No Javascript” in the same sense that software vendor Salesforce.com had the tagline “No software”.
https://github.com/enhance-dev/enhance-starter-project/blob/...
(I just copy/pasted the website's <meta> description without thinking too much about it. I agree though.)
Edit: Or JSX. I dunno. I successfully avoided learning react so far.
I assume that by default all that JS runs on the server and HTML gets returned to the browser.
They seem to be using tagged template literals (like lit-html does). They are essentially functions.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
What examples are you referring to?
https://github.com/enhance-dev/enhance-starter-project/blob/...
GitHub says ~30% of that repository is JavaScript code. Seems strange for a HTML-first framework.
I've been looking for simpler frameworks that do less, because I'm tired of coming back to projects I've set aside for six months or a year and having to basically relearn and rewrite them to match all the updates and incompatible changes the framework made in the meantime.
At first glance this looks like it handles the essentials and doesn't try too hard to handle anything else; I'm going to give it a try.
More discussion from last year: https://news.ycombinator.com/item?id=32987840
Pretty sure what they mean by "no Javascript" is no client-side Javascript.
The idea of component-based rendering for server-side is actually nice.
In any case the gigantic pink sheep and clouds that is their entire landing page demonstrate those are either not serious people, or their audience isn't.
Yeah, I think a lot of us are bumping against that. They need to change either their examples or their branding...
>In any case the gigantic pink sheep and clouds that is their entire landing page demonstrate those are either not serious people, or their audience isn't.
...but hard disagree here. Don't change that! That page is fun and positive. You can be serious as in "deliberate" and "thoughtful" without being serious as in "humorless" or "somber". The former types of seriousness are the more important ones when you're trying to get stuff done.
They're sending all the right signals that working with them would be enjoyable which is good when you want to build a community and are just starting out.
I read a lot of strong opinions about the use of NPM when the framework boasts “No JavaScript”. Probably it’s a fair point. But I’d still like to see more enhance and Lit-like frameworks - yes I said framework, cause it takes you one step closer to the native browser.
I really enjoy this website's look&feel
Is there some mechanism to push component updates to the client once the state changes?
:-O
Edit: maybe was hugged. It's working now. But worth to checkout.
Utterly useless.