DioxusLabs / DioxusLabs/dioxus

Cross-virtual dom signals

Open
#1,569 7 comments 1 reaction 0 assignees View on GitHub
desktop enhancement signals
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

## Specific Demand

Signals currently use the context API to communicate with eachother. This works great within one virtual dom, but once you create a new virtual dom it can cause issues. For example, you cannot create a signal in one window and send it to another window in this [example](https://github.com/DioxusLabs/dioxus/blob/master/examples/multiwindow.rs)

## Implement Suggestion

We could switch from the context API to a global lazy static/oncecell runtime

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.