vizhub-legacy icon indicating copy to clipboard operation
vizhub-legacy copied to clipboard

VizHub 3 Runtime

Open curran opened this issue 3 years ago • 3 comments
trafficstars

As part of the VizHub 3 rewrite, the VizHub Runtime should be partitioned off as a standalone module / chunk of work.

Requirements:

  • Feature parity with VizHub 2 runtime (HTML, CSS, JS, ES Modules, JSX, NPM packages)
  • Ability to import modules exported from other vizzes (Composition)
  • A new "mode" that support hot reloading of JavaScript (initial prototype here: experimental-runtime).
  • Hot reloading of CSS
  • Support for dynamic state/configuration that lives outside of the code (State) (initial prototype here: experimental-runtime)
    • A program needs to be able to recieve state updates as they happen, without re-running the entire HTML page
    • A program needs to be able to write state updates (e.g. in response to user interaction)

curran avatar Jan 27 '22 16:01 curran

Remove me from here

On Thu, Jan 27, 2022, 11:52 AM Curran Kelleher @.***> wrote:

As part of the VizHub 3 rewrite, the VizHub Runtime should be partitioned off as a standalone module / chunk of work.

Requirements:

  • Feature parity with VizHub 2 runtime (HTML, CSS, JS, ES Modules, JSX, NPM packages)
  • Ability to import modules exported from other vizzes (Composition)
  • A new "mode" that support hot reloading of JavaScript (initial prototype here: experimental-runtime https://github.com/curran/experimental-runtime).
  • Hot reloading of CSS
  • Support for dynamic state/configuration that lives outside of the code (State) (initial prototype here: experimental-runtime https://github.com/curran/experimental-runtime)
    • A program needs to be able to recieve state updates as they happen, without re-running the entire HTML page
    • A program needs to be able to write state updates (e.g. in response to user interaction)

— Reply to this email directly, view it on GitHub https://github.com/vizhub-core/vizhub/issues/507, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHJ2POSA3SLDKTUHIQUCZTUYFZ3BANCNFSM5M6PR3PA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

nitanagdeote avatar Jan 27 '22 16:01 nitanagdeote

You can change your "watching" settings in GitHub. I cannot do it for you.

image

curran avatar Jan 27 '22 17:01 curran

Awesome related work https://roadtolarissa.com/hot-reload/

https://github.com/1wheel/hot-server/blob/master/index.js

curran avatar Aug 18 '22 01:08 curran