marko-js / x

experiments. do not use.
MIT License
19 stars 5 forks source link

Automatic code splitting + preloading/prefetching #28

Open mlrawlings opened 4 years ago

mlrawlings commented 4 years ago

packages

compiler, fluurt runtime, and bundler plugins

Description

The basic idea is this:

Why

To make applications fast by default

Possible Implementation & Open Questions

This will likely require some back-and-forth between the bundler and the compiler (with coordination between client and server compilations, much like the @marko/webpack plugin does now). Specifically to answer these questions:

tigt commented 4 years ago

Just chiming in to say apparently <link rel=modulepreload> is a thing now