Wrong Technology

Nitro v0.10 shipped with modifiable UIs

H2O Nitro v0.10 is released.

UIs are now modifiable: insert, update, remove parts efficiently using the same, simple API.

Hints read like plain English: "insert after", "remove before", "view at", and so on.

More: https://nitro.h2o.ai/editing/

# Display some boxes:
view(
box('Blue 1', background='$blue', color='white'),
box('Blue 2', background='$blue', color='white', name='blue2'),
box('Blue 3', background='$blue', color='white'),
)

# Append a box:
view(
box('Appended', background='$lava', color='white'),
insert=True,
)

# Insert a box before `blue2`:
view(
box('Inserted', background='$lava', color='white'),
insert=True, before='blue2',
)

# Overwrite two boxes with three boxes after `blue2`:
view(
box('Overwritten 1', background='$lava', color='white'),
box('Overwritten 2', background='$lava', color='white'),
box('Overwritten 3', background='$lava', color='white'),
after='blue2',
)

# Remove everything before `blue2`:
view(remove=True, before='blue2')
« Nitro client/server protocol documentation Pyodide for Nitro: Progress update »