vizhub-core / vizhub-legacy

Data Visualization Platform
https://vizhub.com
MIT License
89 stars 44 forks source link

VizHub 3 Runtime #507

Closed curran closed 11 months ago

curran commented 2 years ago

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

Requirements:

nitanagdeote commented 2 years ago

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: @.***>

curran commented 2 years ago

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

image

curran commented 2 years ago

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

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