Live data from Hacker News

Glimmer – Fast and light-weight UI components

glimmerjs.com

51–60 of 133 posts

Re: Glimmer – Fast and light-weight UI components

#52
post #51

Whoa, good. I was worried, 12h passed without major new JS framework on the front page. But, clock started ticking again..

Maybe you should read about it a bit before you dismiss it with useless snark.

This is not a new JS framework. This is the view layer extracted from Ember as a standalone library.

Re: Glimmer – Fast and light-weight UI components

#53
post #37

Earlier quoted context omitted.

Why would you want to build a bespoke React-based framework for every app you make? Why not simply have everything you need out of the box, plus the ability to easily integrate any npm library into your app via first-class build tooling that is miles easier to use than something clunky like Webpack?

Because in my experience the "out-of-the-box" solutions always break down the more you want to customise them. Now I rather prefer solutions that have customisation in mind from start, so it's always easy to switch things.

I remember when that wave hit the Ruby/Python space, with things like Pyramid/Pylons. These days that seems to have gone the way of the dodo, with the big monoliths still being around and then some minimal HTTP decorators like Sinatra/Flask/Node. Problem is that the middle ground would require a level of modularity that we still haven't reached, despite all the talk of "software ICs" that came around with early OOP.

I predict that's how we're going to end up in a few years again. Some big monoliths (whatever react is morphing into currently, plus Angular and as the world is a cruel mistress, ExtJS), plus a plethora of DOM wrappers and view libraries.

And 72 build systems.

Re: Glimmer – Fast and light-weight UI components

#54
post #51

Whoa, good. I was worried, 12h passed without major new JS framework on the front page. But, clock started ticking again..

Maybe you should read about it a bit before you dismiss it with useless snark. This is not a new JS framework. This is the view layer extracted from Ember as a standalone library.

It's a JS framework, it's new. No?

Re: Glimmer – Fast and light-weight UI components

#55

> Glimmer compiles your templates into low-level code so it can run as fast as possible—without sacrificing ease of use. What's the benefit vs just writing your templates in JavaScript in the first place?

Specialized JS objects can conform to the Virtual DOM spec and therefore be most efficiently rendered by any Virtual-DOM renderer such as React, Maquette, Inferno, etc. It's easiest to use a template language or JS object builder that already conforms to the spec.

I use Pug/Jade, which always compiled to JS for speed and also supports Virtual DOM and server-side rendering. Pug can be written, understood, and updated by users who have no knowledge of JS but still gives me the full power of JS when necessary.

Re: Glimmer – Fast and light-weight UI components

#56

Earlier quoted context omitted.

Why would you want to build a bespoke React-based framework for every app you make? Why not simply have everything you need out of the box, plus the ability to easily integrate any npm library into your app via first-class build tooling that is miles easier to use than something clunky like Webpack?

I really don't, and few do, hence the popularity of create-react-app and next.js

So you're still working within a framework, then.

Re: Glimmer – Fast and light-weight UI components

#57

As a long time (5 years full time) Ember developer, this is quite interesting to me philosophically. I've spent a lot of time trying to tell people that all the stuff in Ember is there for a reason; for example, you're going to need a router, you're going to need support for controllers, etc. I still feel strongly that if your app is large and serious you are going to need that stuff. But. A lot of people just want t…

"still feel strongly that if your app is large and serious you are going to need that stuff."

My approach usually is, start minimalistic and if you need additional stuff, you can usually add it later. That is why I like React. For example if I need router, I can choose from many implementation, but there are also cases when I don't need it all.

Re: Glimmer – Fast and light-weight UI components

#58
post #51

Whoa, good. I was worried, 12h passed without major new JS framework on the front page. But, clock started ticking again..

Maybe you should read about it a bit before you dismiss it with useless snark. This is not a new JS framework. This is the view layer extracted from Ember as a standalone library.

Ah, thanks for explaining that ! I thought the Ember team had started an entirely new project instead of reusing something that already existed. If they extracted it, that makes much more sense to me now.
Post reply on HN