Tom Conroy

Results 10 comments of Tom Conroy

Ah, right, I missed the part where `serialize` excludes computed data. > Do you mean that some computation done by your server-side monkeys is heavy and that you want to...

Right, that makes sense, and seems to work, with one caveat: if there are any keys in the "defaults" data that get removed by the server after operating on the...

> we don't rerender our application on client, we just bind event handlers React does this too if the app state is accurately restored.

Because the `initialData` doesn't have any monkeys. I need the server's computed tree to look the same in the client after initializing. I think your suggestion of doing `new Baobab(_.merge({},...

Is there a story for tracking how the shape of a model might change over its lifetime? For example, if a field name is changed, or a new (required) field...

Thanks @izelnakri, so do you imagine the developer would migrate the historical versions, rather than implement the different ways a historical version might be restored to the latest schema? Seems...

It seems the test is failing because the test suite is using elixir 1.12 (because of ubuntu 22) and this option was added in 1.14 (available on ubuntu 23+)

I can give it a shot, is there an example in this repo of a similar behavior?

So I tried adding a new test for `.heex` formatting but I realized we would need a config file (`.formatter.exs`) and probably some elixir dependencies to get it work (https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.HTMLFormatter.html)...