Genie Discord forum
Does the API contain alternative syntax for:
@michaelfliegner sorry where is this coming from? I have no context
the new api uses the symbol __model__ to denote the model state synched with the browser. before that you had to explicitly name the model and use that name in handlers to sync with the client. it's just a question of documentation and, say, syntactic sugar. ... wait a minute ... Should I try @push? 🤔
It's not (yet) integrated.
@push is a good proposal.
We are currently developing support for
x[!] = 3 instead of
__model__.x[!] = 3 to make silent updating easier.