Interesting... though unsure about potential pitfalls or costs in the future. I tend to be extra leery if I don't see clear pricing, including anything related to distribution costs/fees from something that isn't open source.
Not against commercial efforts at all, and this definitely seems cool, just need more on licensing costs and plans for monetization before I would look deeper.
Just saw this on HN, and figured I'd share here. Definitely interesting, with a pretty clean take. Similar to other frameworks, not sure how well a more unified state (like redux) might work with it.
Not sure if this is cloned/duplicate content, but the sample code formatting is completely borked, whitespace is missing. Beyond this, the API itself isn't really detailed well and there is missing context for supported browsers [1]. Which does indeed seem to be well supported. Links to the MozDev API docs might help as well. [2][3] 1. https://caniuse.com/payment-request 2. https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequest 3. https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponseI tend to call it delay... const delay = (ms) => new Promise(r => setTimeout(r, ms)); ... await delay(1000); // wait a second