Hey all, founder of Ionic (team behind Stencil) here. Didn't expect to see this up on HN so soon (released this morning), thanks for understanding there's still rough edges with docs, etc We built Stencil for a selfish reason: we needed more mobile web performance for Ionic apps being deployed as PWAs (in addition to App Store apps) and we were struggling getting that with traditional framework component/bundle appro…
Stencil – A reusable web component generator
51–60 of 107 posts
Re: Stencil – A reusable web component generator
#52 Failed to register/update a ServiceWorker for scope ‘https://stenciljs.com/docs/’: Bad Content-Type of ‘text/html’ received for script ‘https://stenciljs.com/docs/sw.js’. Must be ‘text/javascript’, ‘application/x-javascript’, or ‘application/javascript’.
Error DOMException [SecurityError: "The operation is insecure."
code: 18
nsresult: 0x80530012] intro:19:41Re: Stencil – A reusable web component generator
#53Earlier quoted context omitted.
Designers only looking at their sites on their MacBook Pros is exactly what produces these pretty but unreadable websites.
Adding a "Yes, but..." Microsoft's refusal, or inability, to release a version of Edge (or even a port of an earlier IE) for macOS exacerbates this situation. I virtualize Windows on my MacBook for IE/Edge testing of my designs and code, but it requires a workflow and context shifting that I'd perfer I didn't have to do. Edit: s/I.E./IE
At least Microsoft has the good grace to put up free VMs for browser testing - https://developer.microsoft.com/en-us/microsoft-edge/tools/v...
Re: Stencil – A reusable web component generator
#54Re: Stencil – A reusable web component generator
#55This sounds awesome! The Github link on the website should probably link to the main repo instead of stencil-site?
Re: Stencil – A reusable web component generator
#56Hey all, founder of Ionic (team behind Stencil) here. Didn't expect to see this up on HN so soon (released this morning), thanks for understanding there's still rough edges with docs, etc We built Stencil for a selfish reason: we needed more mobile web performance for Ionic apps being deployed as PWAs (in addition to App Store apps) and we were struggling getting that with traditional framework component/bundle appro…
Re: Stencil – A reusable web component generator
#57Earlier quoted context omitted.
Custom elements v1: http://caniuse.com/#feat=custom-elementsv1
basically Chrome (I just saved you a click)
Re: Stencil – A reusable web component generator
#58Earlier quoted context omitted.
Designers only looking at their sites on their MacBook Pros is exactly what produces these pretty but unreadable websites.
Adding a "Yes, but..." Microsoft's refusal, or inability, to release a version of Edge (or even a port of an earlier IE) for macOS exacerbates this situation. I virtualize Windows on my MacBook for IE/Edge testing of my designs and code, but it requires a workflow and context shifting that I'd perfer I didn't have to do. Edit: s/I.E./IE
The only way for me to avoid using the Macintosh OS or having to buy a Mac is to switch careers or specialize.
Thankfully, cross-platform kits such as Cordova and React-Native let me use my preferred OS for development most of the time!
Re: Stencil – A reusable web component generator
#59Here's a new library to solve a problem you don't have yet.
WebComponents in general are a solution in search of a problem. Despite being 6 years in development: - they basically delivered none of the original promises - they are extremely cumbersome to use without a library/framework on top (Polymer is the jQuery of WebComponents) - they are plagued by multiple problems and shifts in the ecosystem (browsers don't want to support `is=`, HTML imports are being dropped in favou…
Maybe they don't solve your problem, but they certainly seem to solve Ionic's or Netflix's problems (or mine for that matter).
Re: Stencil – A reusable web component generator
#60" Stencil is a new approach to a popular idea: building fast and feature-rich apps in the browser. Taking advantage of new capabilities in the browser, such as Custom Elements V1, Stencil enables developers to write faster and lighter components without the weight of frameworks. The tooling also a solution to teams and library authors building components that support many frameworks. Stencil components work in Angula…