Andrey (azangru) wrote,
Andrey
azangru

Not that this is news, coming from Alex Russell, but still every time he uses the words "legacy framework" referring to React, I get a bit uneasy:

=================
Hey, Alex from the PWA team on Chrome here.

My strongest advice to teams starting their journey now is to avoid legacy desktop frameworks (e.g. React) and to start with something that's modern-first (Preact, LitElement, Svelte, Vue, Stencil, etc.).

Each of those have good starter kits that I can recommend:

Preact CLI: https://github.com/preactjs/preact-cli

Polymer PSK (for LitELement apps): https://github.com/Polymer/pwa-starter-kit

Sapper (for Svelte): https://sapper.svelte.dev

Vue CLI plus the PWA plugin: https://www.npmjs.com/package/@vue/cli-plugin-pwa

Nuxt.js for Vue: https://nuxtjs.org/

Ionic PWA Starter Kit (for Stencil): https://ionicframework.com/pwa/toolkit

The reason we don't recommend React-based toolchains is their weight. I wish we had a good example of a React-ecosystem starter kit that was light enough, but thankfully some of the better ones can be used with Preact, e.g. Next.js supports Preact: https://github.com/zeit/next-plugins/tree/master/packages/next-preact

Whatever you go with, recommend you set a hard performance budget and automate conformance in your CI:

https://infrequently.org/2017/10/can-you-afford-it-real-world-web-performance-budgets/

https://web.dev/use-lighthouse-for-performance-budgets

=================

(link)
Subscribe

  • (no subject)

    Someone's comment on Twitter reminded me how differently we interpret what we experience: My impression from that interview was that Yuri was…

  • (no subject)

    Via Twitter. From the book The Gray Lady Winked, photographed by Michael Shermer: Here's the tweet that the paragraph references (took a while…

  • (no subject)

    To unscramble an egg, by the way, would be a closer idiomatic parallel to ungrinding ground meat, and in spite of Julia Ioffe, is just as dark, blunt…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments