-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or requestlocal-live-viewTesting whether Popcorn can be used with LiveView to prevent server round-trips.Testing whether Popcorn can be used with LiveView to prevent server round-trips.
Description
Right now LocalLiveView works only in fornt end part of the appliaction (in Browser).
We need a solution that connects the LocalLiveView with server part of the Phoenix application.
Technically we need:
- a socket defined in the local live view app
- a channel defined in the phoenix app
- socket and channel should be connected
- elixir in the browser (LocalLiveView) should be able to call a socket (with popcorn API) to send a message to channel
With above task the biggest difficulty will be appending all popcorn functionalities defined in .js files (popcorn.js popcorn_iframe.js) to app.js file created by esbuild during phoenix app build.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestlocal-live-viewTesting whether Popcorn can be used with LiveView to prevent server round-trips.Testing whether Popcorn can be used with LiveView to prevent server round-trips.