News for hackers. Stuff that matters.
Re:React 16.4 release notes (pointer events) by Saaster on Thursday May 24, 2018 @10:31AM (#17144309)
Pointer events integrate inputs from mice, touchscreens, and pens, making separate implementations no longer necessary and authoring for cross-device pointers easier. The one input API to rule them all!

Except... of course Pointer Events doesn't work in Safari. Safari doesn't even support the regular mouse event "buttons" property which has been in the specs forever, which is a constant source of Safari specific bugs in my experience. Nothing happens when you click? Oh, you must be using Safari!

Why is input handling such a pain in the behind!

Re:React 16.4 release notes (pointer events) by localvoid on Thursday May 24, 2018 @11:40AM (#17145070)
> making separate implementations no longer necessary

Until you actually start to implement gesture disambiguation and realize that pointer events are useless [1][2]

1. https://github.com/w3c/pointerevents/issues/178

2. https://github.com/w3c/pointerevents/issues/216

Re:React 16.4 release notes (pointer events) by BaronVonSteuben on Thursday May 24, 2018 @11:26AM (#17144914)
Safari is the new Internet Explorer

https://www.safari-is-the-new-ie.com/

Re:React 16.4 release notes (pointer events) by ballenf on Thursday May 24, 2018 @12:04PM (#17145317)
Until another browser implements proper tail calls as per the spec, I'll still have great respect for Safari, quirks and all. It's the only browser where you can write fully functional, continuation passing style code without fear of blowing the stack.

And all the fear mongering over "it makes debugging haaard" is just frustrating. Debugging is hard, there's just no way around it.

The Develop menu in Safari is also without equal in my experience. Quick access to almost a dozen settings each of which requires either command line arguments or buried toggles and restarts in Chrome (or myriad extensions).

I do wonder why the console doesn't use a monospace font. That's not the only problem with Safari, but it's one of the most off-putting, glaring issues. Makes you feel like the browser isn't intended for serious work. Which I guess some people would say is true.

Re:React 16.4 release notes (pointer events) by Scarbutt on Thursday May 24, 2018 @12:15PM (#17145451)
They even solved the debugging complaint of TCO by having a shadow stack but to be fair chrome is way ahead in implemented JS features.
Re:React 16.4 release notes (pointer events) by andrethegiant on Thursday May 24, 2018 @12:55PM (#17145930)
> I do wonder why the console doesn't use a monospace font

I use Safari dev tools exclusively and can report that the console does indeed use a monospace font. I wonder how you configured your setup to use otherwise.

Re:React 16.4 release notes (pointer events) by darepublic on Thursday May 24, 2018 @10:12PM (#17150124)
Any reason you prefer Safari dev tools over Chrome's?
Re:React 16.4 release notes (pointer events) by rubyn00bie on Thursday May 24, 2018 @12:39PM (#17145752)
No, it's not. It cannot be and this is extremely harmful and short sighted.

Safari does not have a monopoly on either Desktop or Mobile. Safari while behind does not implement its own broken standards and force them upon everyone. It doesn't allow for semantically broken HTML and simply "fixes it."

I'm not trying to be ageist here, but I often find this rhetoric from people who are too young to have actually worked with IE 4-6.

Re:React 16.4 release notes (pointer events) by wvenable on Thursday May 24, 2018 @01:02PM (#17146025)
At the time IE6 was released it was easily best browser and many many of the standards that we now take for granted (DOM events on every tag, AJAX, etc) were started with IE. Now what followed that was years of stagnation just like we're starting to see with Safari.

Safari is the exclusive platform browser for iOS; even Microsoft didn't prevent you from installing alternative browsers! So in that way, Mobile Safari is even worse. From there, everything else follows: developers simply cannot afford to ignore Safari, despite its flaws, just like they couldn't afford to ignore IE despite its flaws.

Re:React 16.4 release notes (pointer events) by swyx on Thursday May 24, 2018 @12:00PM (#17145262)
there are any number of pointer events polyfills (https://www.google.com/search?q=pointer+polyfill). it's not react's fault. this feature will still be there if/when safari gets with the program!