liveview-native / liveview-native/liveview-native-core

"LVN" Command Hooks

Open
#215 2 comments 0 reactions 1 assignee Claimed by @mobile-bungalow View on GitHub
enhancement parity
Dominant language
Rust
Stars
166
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Vanilla Live View exposes[ several utility commands](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.JS.html) that can be used to run local, optimistic changes when an even is about to be sent to the server.

To implement this we need to instrument the VDOM to emit local events which optimisitcally remove, mutate and insert elements. These will be valid until otherwise reverted by server side diffs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.