liveview-native / liveview-native-core

Provides core language-agnostic functionality for LiveView Native across platforms
MIT License
142 stars 9 forks source link

Testing liveview-native-core against the phoenix-live-view js tests #135

Closed simlay closed 4 weeks ago

simlay commented 2 months ago

Subtask to #134.

This adds a new crate to the workspace called liveview-native-core-wasm (in the crate/wasm subdirectory).

To build it, run wasm-pack build --no-typescript --target nodejs and then point the liveview_native_core_wasm module from the phoenix_live_view jest config to the pkg directory.

Co-PR to https://github.com/liveview-native/phoenix_live_view/pull/1