Conversation
|
@georgefst This builds, but it doesn't actually work. Do you have a moment to take a look at these issues?
|
Miso's API continues to be unstable, so there are some functional changes, though Primer's implementation remains unchanged. Signed-off-by: Drew Hess <src@drewhess.com>
69ccbdb to
571806d
Compare
|
Perhaps I should look at georgefst/hello-hs#2 and sync up with that. It'd be nice if Primer's Wasm bits looked more like other canonical Miso apps. |
I think both descend from the original Tweag Miso example repo. I'd be surprised if there were major differences. EDIT: Well actually, maybe it is worth syncing up on some of those minor differences, e.g. the CPP around Wasm GHCI browser mode. |
Miso recently dropped JSaddle entirely (resulting in significant performance improvements for one thing). That means
I think I got this working in this experimental branch. But anyway the recommended approach going forward for hot-reloading is likely to be persisting the model via a pointer on the heap which survives GHCI reloads. See the discussion here. This has the advantages of better performance and not needing |
|
OK, I'll take a look at your various branches/PRs and try to reconcile this PR. |
Miso's API continues to be unstable, so there are some functional changes, though Primer's implementation remains unchanged.