Is there a better way than the
Examine dat to convert a
DependDict to json then send it out through
What I have seems to work but it feels hacky.
Additionally, I’m not sure how the dependency is actually tracking here with the use of
.getRaw() but it is working for some reason.
Previously I was manually calling
TDJ.jsonToDat(self.State.getRaw(), <textDatRef>) in my extension when an update happened. This has the downside of having to do some equally hacky stuff to get state changes to properly send when multiple updates come in really close to each other. Old code is on github if you’re curious.
I’d really like to just have a
DependDict in my extension and let touch manage change subscription if possible as it makes things much simpler.