Skip to content

VSReacT v0.0.14

Choose a tag to compare

@github-actions github-actions released this 18 Jul 04:28

The workspace tier — structure for multi-page plugin UIs. JS-only;
native module unchanged from 0.0.9.

New components

  • <Tabs> — the page switcher (MAIN / FX / SETTINGS): a themed
    tab bar with an underline indicator that renders the active panel.
    Controlled or uncontrolled.
  • <Disclosure> — the collapsible settings row ("ADVANCED"):
    click the header to fold content in and out.

Hooks & control upgrades

  • useNativeValue(name, initial) — the one-liner for native → UI
    data feeds: holds the latest payload of a C++ event as state.
  • Meterreverse fills from the top (vertical) or right
    (horizontal): gain-reduction meters for compressors.

@vsreact/posthog 0.0.4

  • time(name) / timeEnd(name, props?) — stopwatch captures:
    preset_load { duration_ms } for load times, render passes,
    analysis sweeps.
  • init({ sampleRate }) — whole-session sampling: keep a fraction
    of clients, and kept events carry $sample_rate so PostHog can
    weight the counts.
  • init({ maxQueueSize }) — a queue cap (drop-oldest, default
    1000) so a misbehaving bridge can't grow memory.

Site

  • Gallery: Tabs and Disclosure families in all eight worlds.

Install

bun add @vsreact/core   # or npm install / yarn add / pnpm add

Fetch the native JUCE module with CMake:

include(FetchContent)
FetchContent_Declare(vsreact
  GIT_REPOSITORY https://github.com/N9RecordsTechnologiesIL/VSReacT.git
  GIT_TAG        v0.0.14
  SOURCE_SUBDIR  vsreact)
FetchContent_MakeAvailable(vsreact)

Docs: https://vsreact.n9records.com/docs