zebflow 0.11.4

Reactive web automation platform — pipelines, templates, and real-time collaboration in a single binary.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { usePageState } from 'zeb/react';

export const app = {};

export default function Page(input) {
  const state = usePageState();
  return (
<section className="tree-b">
  <h3>B Component</h3>
  <p>B sees shared value: <strong>{state.shared?.value ?? 0}</strong></p>
  <TreeC />
</section>
  );
}