3 ms·
I would never want to write it the same element in multiple places like this. That's one of the main points of templating in the first place: to write the code
by spankalee 2y ago
I would never want to write it the same element in multiple places like this.
That's one of the main points of templating in the first place: to write the code for a piece of output once, with all of the bindings that can affect it.
What happens here if you update the JSX for an element in one place and forget to do so in the others?
- danielvaughn 2y agoIt's true that the library doesn't stop you from shooting yourself in the foot by duplicating UI references. But you can limit the effect of this with a bit of design work. I'm currently iterating on a few ideas, but this lib is only a week old, so I'm still thinking my way through it.