The only issue is that you won’t get very far before needing more. You can’t build an app with WCs, you need a framework on top.
-
-
Replying to @jescalan @matthewcp and
I disagree, you can use vanilla WC for building an app, it isn't nice and not declarative at all ofc, but doable https://github.com/Hotell/ui-training-todo-app-js …
2 replies 0 retweets 1 like -
Replying to @martin_hotell @matthewcp and
I guess what I don’t get is why would you do this when there are many easy ways to make it nice with no drawbacks?
3 replies 0 retweets 0 likes -
Replying to @jescalan @matthewcp and
you can make it nice with html-lit or VDom or using skate if you really need artificial async pipeline/renderer/props api
1 reply 0 retweets 2 likes -
Replying to @martin_hotell @matthewcp and
Sure, but now you are tied to a library, so at that point you compare to preact right?
6 replies 0 retweets 0 likes -
Replying to @jescalan @martin_hotell and
No, custom elements have capabilities that preact or any other Library cannot emulate
1 reply 0 retweets 2 likes -
Replying to @matthewcp @martin_hotell and
Oh this is interesting - what are they?
1 reply 0 retweets 0 likes -
Replying to @jescalan @matthewcp and
shadow dom is one
@matthewcp may be thinking of, but that's not technically custom elements. "being standard" is a good one though :)4 replies 0 retweets 3 likes -
Replying to @briankardell @jescalan and
Shadow DOM is built-in scoping for CSS and DOM. It's the encapsulation system we've all been wanting.
1 reply 0 retweets 4 likes -
Replying to @slightlylate @briankardell and
Now we just need it to be declarative
1 reply 0 retweets 1 like
Yep! Agreed.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.