Better HN
topnewbestaskshowjobs
Log inSign up

brianslp

6 karma · joined Aug 10, 2022 (4y ago) · 4 submissions

Submissions

comment 3y ago · link · parent

> This is a new thing coming people.

What? The canvas is not new, you've been able to dump the DOM and make canvas-only UI for many years.

The "new thing" is just improved code sharing if you are making a canvas-y thing for multiple platforms. And letting people use their preferred language if not JavaScript.

comment 3y ago · link · parent

Due to the nature of being a frontend-for-everything I think it's best to keep the stdlib's platform-specific functionality minimal.

comment 4y ago · link · parent

iOS has essentially the same: https://developer.apple.com/documentation/safariservices/sfs...

comment 4y ago · link · parent

This has actually been fixed since iOS 9: https://developer.apple.com/documentation/safariservices/sfs...

This opens Safari, but makes it appear like it's an in-app browser. Best of both.