Live data from Hacker News

Evergreen: a React UI Framework built by Segment

evergreen.segment.com

211–220 of 309 posts

Re: Evergreen: a React UI Framework built by Segment

#211

Earlier quoted context omitted.

While I agree React isn't the issue here, you chose horrible examples. Loading Facebook on my computer (especially trying to open a chat window) brings my computer to a knee. And using twitter on mobile browser you quickly learn how the spinner looks.

I haven't had performance issues on Facebook in quite some time. And Twitter works like a charm on my Nexus. I'm wondering how much of your issues have to do with either round trip latency or network issues.

The Twitter PWA works fine on my crappy $200 Android phone.

Re: Evergreen: a React UI Framework built by Segment

#212
post #162

Earlier quoted context omitted.

I think rewriting UI systems every few years and reimplementing in various JS frameworks that come and go is a serious waste of manpower. I'd so wish people would embrace web components properly once and for all, with LitElement, Svelte or Stencil. This way we won't have to live with another framework-bootstrap clone again and again and everyone can contribute to one solution that will work with all JS frameworks.

Problem is, web components don't provide the same thing as frameworks like React. And the performance question still hasn't been solved. React was released in 2013, has only had minor breaking chanhes since then, and doesn't show any signs of disappearing anytime soon.

Lit-html is faster than react + vdom - and has 6kb instead of 60kb. And back in the time everyone used jquery, the arguments are always the same.

Re: Evergreen: a React UI Framework built by Segment

#213

This list was posted a few weeks ago, but here is a fairly definitive list of similar UI frameworks: https://element.eleme.io/ https://ant.design/ https://quasar-framework.org/ https://at-ui.github.io/at-ui/ https://developer.microsoft.com/en-us/fabric https://vmware.github.io/clarity/ http://appnexus.github.io/lucid/ https://ng-lightning.github.io/ng-lightning/ https://blueprintjs.com/ http://www.jetbrains.org/ring-…

Great list but missed a big one: https://material-ui.com/

Re: Evergreen: a React UI Framework built by Segment

#214

Earlier quoted context omitted.

Do any of these produce finished output that is less than a few kB, and works reliably in say the past two major versions of browsers? Bundle sizes are getting ridiculous. Is there a React UI framework that focuses on tiny build size and browser compatibility?

Wouldn't any of those fit the case if you just do tree-shaking?

You have to specifically write code that supports that, so no. Look at the limitations of tree-shaking for more info.

Re: Evergreen: a React UI Framework built by Segment

#215
post #205
post #162

Earlier quoted context omitted.

I think rewriting UI systems every few years and reimplementing in various JS frameworks that come and go is a serious waste of manpower. I'd so wish people would embrace web components properly once and for all, with LitElement, Svelte or Stencil. This way we won't have to live with another framework-bootstrap clone again and again and everyone can contribute to one solution that will work with all JS frameworks.

It seems replication of numerous UI frameworks to be a fruit of Evolution per se, and it will happen again and again. You named Web Components, I've been embracing them for a while, but if you tried to switch from Google's Polymer to LitElement it wouldn't go smooth as you could have imagined. Both Polymer and LitElement are based on Shadow Dom and WC features curated by Google, but are not 100% backward compatible.…

I think you confused multiple things together - why do you bring webcomponents.org the website into discussion, it has no relation here.

Web components are a low-level primitive - they are clunky to use directly.

Polymer and LitElement - are libraries - you can author WC's with them. And yes they are different (I used both), but you don't really have to migrate from one to another.

Web components are not divided - Lit-element can work within vuejs or polymer or angular for example. VueJS authored WC's can work within lit-element or polymer.

https://custom-elements-everywhere.com/ - see this for more information about interoperability (sometimes it depends on templating syntax).

You asked about Svelte and Stencil - https://svelte.technology/, https://stenciljs.com/ - those compile your code into web components - different approach than polymer that is a suite of quite a few higher-level abstractions that you might not want to pay for (20kb of js).

Re: Evergreen: a React UI Framework built by Segment

#216
post #209
post #170

Earlier quoted context omitted.

Apparently you haven't read my comment as you missed "which they are already developing." and "100% support on mobile Web" part. Plus there are polyfills available for the meantime. So what other browsers are many popular ?

The "polyfills in the mean time" status has continued since 2013, it's not clear that there is a lot of momentum.

Well, FX 63 ships next week, and Edge update their roadmap from considering to implementing: https://twitter.com/kylealden/status/1047240569439711232.

So Edge is the only browser missing 100% native support right now.

Re: Evergreen: a React UI Framework built by Segment

#217
post #215
post #205

Earlier quoted context omitted.

It seems replication of numerous UI frameworks to be a fruit of Evolution per se, and it will happen again and again. You named Web Components, I've been embracing them for a while, but if you tried to switch from Google's Polymer to LitElement it wouldn't go smooth as you could have imagined. Both Polymer and LitElement are based on Shadow Dom and WC features curated by Google, but are not 100% backward compatible.…

I think you confused multiple things together - why do you bring webcomponents.org the website into discussion, it has no relation here. Web components are a low-level primitive - they are clunky to use directly. Polymer and LitElement - are libraries - you can author WC's with them. And yes they are different (I used both), but you don't really have to migrate from one to another. Web components are not divided - Li…

Thanks for links you provided.

Don't know what you mean by saying it has no relation; I've been using that site for searching components while developing my PWA based on Polymer. I can install components with yarn or npm just fine, using instructions and examples from there.

Re: Evergreen: a React UI Framework built by Segment

#219
post #210
post #191

Earlier quoted context omitted.

React is not fast, clearly the simple idea of having a virtual Dom is very costly compared to do things by hand. However for a large scale app react makes it more easy to reason about and keep it maintainable, components are far easier to implement, etc... So for many people, the benefits you get on the development side outweight the performance overhead

There is an overhead, but the main problem with the new Reddit is not that it was made in React, but that it's a massive fuckup. Not only from a programming perspective but also design and UX.

Given how much they push you to use the app, it's possibly intentional.

Re: Evergreen: a React UI Framework built by Segment

#220
post #183
post #172

Earlier quoted context omitted.

> Apparently you haven't read my comment as you missed "which they are already developing." part. Apparently you haven't read my first comment either, since you can't tell the difference between "a spec is implemented" and "planning to implement a spec" which you obviously count as "a spec is implemented" for you or you would have refrained from making your first comment. And no, there is no polyfills for shadow DOM…

100% on mobile Web. Firefox already on beta. As for Edge it is already in development, and to be honest it doesn't matter with its insignificant market share. When Microsoft employees use only Chrome at BUILD to show Azure and .NET Core MVC features, the writing is on the wall how relevant the browser is on the market. Still you keep running away to clarify what "many browsers" means. Maybe it is my lack of native En…

> As for Edge it is already in development, and to be honest it doesn't matter with its insignificant market share.

Er, really? I use Edge. It's just what's standard on the Windows machine I bought. I can't imagine that it has insignificant market share...

Post reply on HN