Genie Discord forum

Changing "n_" on the server works as expected. Changing n_ on the browser changes it on the server. I was under the impression that this isn't supposed to happen.


I changed to the following and it works

If I recall, doing something similar for "private" fails. Let me double check.

Yeah, this doesn't work. "i" isn't private

Ironically, "i__" does work.

So in summary: "blah_" doesn't do read only, "blah :: XXX=YYY, NON_REACTIVE, READONLY" does. "blah__" is private and works but "blah:: XXX=YYY, NON_REACTIVE, PRIVATE" doesn't.

Just following the docs

This stipple 0.25.20

I find reading the source to stipple conjunction to the demo's are pretty helpful.

almost seems like I don't even need to use @vars. I can simply just create a @handler and it'll create and update the model for me.

It's like the new stipple really reduces the amount of code needed to get up and running. Radical code reduction.

That said. Looking at the old stipple gave me a sense on how the system works - and I can appreciate the update.

you can also use @in, @out and @private to define writeable/readonly/private variables

with the new API we tried to reduce the amount of code, s you said. However there's more abstraction going on as you don't need to manually define a ReactiveModel anymore. We'll have to explain all of this in the docs so that users can know how it works under the hood