-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data-phx-ref support #98
Comments
Summary from chat with @simlay and @chrismccord this morning: What Phoenix LiveView doesWhen any No diffs will be applied to the target element or its children until an What we should considerWe want as much of this behavior to live in Core as possible. Triggering the event from the client
Receiving the
|
The challenging parts I think may be:
|
Regarding 1, we could use the Sending this data around would be easier once we use core for networking in the client. It could possibly expose a method with a signature that accepts the event and sender: func sendEvent(event: String, payload: Payload, sender: NodeRef?) async throws -> Payload? If a |
Agreed, we shouldn't implement this until after we bring in more of Core in v0.4 |
Yeah. This is might be challenging. The data structure in Core does keep track of ID which is the I do think that when the clients uses the phoenix-channes-client, this will be easier and more generic. |
From @chrismccord:
@simlay we may need to jump on a call with Chris at some point to break this down a bit more but I'll dig into the source and see if I can familiarize myself with this behavior
The text was updated successfully, but these errors were encountered: