News for hackers. Stuff that matters.
Re:How Four Native Developers Wrote an Electron App by ridiculous_fish on Friday May 19, 2017 @01:05AM (#14373154)
GitHub calls this electron app "the new native" on https://desktop.github.com. But the app does not look or feel native. It has an active appearance even when it's in the background, content lags the window frame during resize, menu items are enabled even when they don't apply or work, some buttons with the default appearance don't respond to return, you can't drag and drop text, many context menus are broken, rubber band scrolling doesn't work, the title bar text is absent, selection modifier keys don't work properly...

If native is to mean anything, it can't mean this. Calling it "the new native" is an affront, because its UI regresses in so many places relative to real native apps.

Re:How Four Native Developers Wrote an Electron App by HappyTypist on Friday May 19, 2017 @01:12AM (#14373180)
It's not just UI but performance as well. For native apps, UI (hover state, clicks, etc) react in 0-1 frames. For Electron apps, these range from 3-10 frames.
Re:How Four Native Developers Wrote an Electron App by rjeli on Friday May 19, 2017 @01:16AM (#14373201)
Don't worry, just wait a few years and the processors will be fast enough for native-like performance.
Re:How Four Native Developers Wrote an Electron App by sha666sum on Friday May 19, 2017 @01:23AM (#14373219)
In other words, in a few years everyone will need to replace their perfectly good computers because of software bloat.
Re:How Four Native Developers Wrote an Electron App by fludlight on Friday May 19, 2017 @12:07PM (#14377009)
You just summed up the history of the industry.
Re:How Four Native Developers Wrote an Electron App by pavel_lishin on Friday May 19, 2017 @11:01AM (#14376314)
And by then we'll have our pick of Neutrino, Electrode, and Amber as the new, shiny, laggy way to build "native" apps.
Re:How Four Native Developers Wrote an Electron App by coldtea on Sunday May 21, 2017 @10:14AM (#14387394)
Re:How Four Native Developers Wrote an Electron App by nwienert on Friday May 19, 2017 @04:13AM (#14373730)
This is not true, nor has it been historically. Since 2001, you can make hover effects in <16ms.
Re:How Four Native Developers Wrote an Electron App by coldtea on Sunday May 21, 2017 @10:15AM (#14387402)
You didn't say anything that disagrees with the parent.

Except if you mean that you could do it since 2001 on web pages in < 16ms -- which is clearly not the case.

Re:How Four Native Developers Wrote an Electron App by vram22 on Friday May 19, 2017 @11:26AM (#14376586)
What is rubber band scrolling?

Edit: thanks for the replies.

Re:How Four Native Developers Wrote an Electron App by fny on Friday May 19, 2017 @11:32AM (#14376644)
It's the bounce you see if you try to scroll past the end of some content. See this image for an example http://blog.christoffer.me/content/images/2015/12/2_touch_ad...
Re:How Four Native Developers Wrote an Electron App by imron on Friday May 19, 2017 @11:34AM (#14376659)
When you scroll past the very top or very bottom of a page and it bounces and springs back.
Re:How Four Native Developers Wrote an Electron App by tonyedgecombe on Friday May 19, 2017 @04:17AM (#14373746)
However it is a beta release which implies some rough edges.