Show HN: Cami.js – A no build, web component based reactive framework
11–20 of 36 posts
Re: Show HN: Cami.js – A no build, web component based reactive framework
#12I see many points in common with https://www.arrow-js.com/ Probably that focus on components could be the only difference
Re: Show HN: Cami.js – A no build, web component based reactive framework
#13Re: Show HN: Cami.js – A no build, web component based reactive framework
#14Some feedback from first glance is “type inference” could be better, which would help prevent a lot of foot-guns. Consider the example code here:
this.count = this.observable(0);
Does this allow “count” to be inferred as a “number” type in the rest of the code? There might be a way to allow JS to easily infer the types, without requiring a build step…Re: Show HN: Cami.js – A no build, web component based reactive framework
#15Nice work, love the use of reactivity via observables and pub/sub stores ( some of my favourite abstractions ) Some feedback from first glance is “type inference” could be better, which would help prevent a lot of foot-guns. Consider the example code here: this.count = this.observable(0); Does this allow “count” to be inferred as a “number” type in the rest of the code? There might be a way to allow JS to easily infe…
Re: Show HN: Cami.js – A no build, web component based reactive framework
#16Great work! This is such a great concept that slots in nicely between HTMX/Unpoly/AlpineJS and React/Vue/etc.
Re: Show HN: Cami.js – A no build, web component based reactive framework
#17Question regarding interop with other web components: I don't see how to create reactive properties on elements. Can they receive data from parents via property bindings? Ie, could a Lit element pass data to a Cami element?
Re: Show HN: Cami.js – A no build, web component based reactive framework
#18Re: Show HN: Cami.js – A no build, web component based reactive framework
#19What's the advantage of not having any build steps? For me personally, it's an instant turn-off, as I'll never use an untyped library.