sorted by: new top controversial old
[-] xoron@mastodon.social 1 points 2 weeks ago

@wake_up

as for tips for somone new to webcomponents, i think its good to take a look at resources online. i dont know enough to suggest any.

i found that after trying it myself, creating something with vanilla webcomponents was a bit of a pain (and the code looks ugly). so its only natural to lean towards something like Lit or Vue for larger projects.

personally, webcomponents seem cumbersome and thats why i wanted to see if Dim was possible. its an attempt to reduce the complexity.

[-] xoron@mastodon.social 1 points 2 weeks ago* (last edited 2 weeks ago)

@wake_up

thanks! im glad you like it :)

> what inspired you to create Dim in the first place?

working with Lit felt a bit like a step backwards when coming from React. the React syntax just seems more elegant to me so i wanted to see if i could do it with webcomponents.

im aiming to see if i can get something that looks and behaves like React, but works natively in a browser without the need to build or transpile. i think in theory it could work.

3
Functional Web Components (mastodon.social)
submitted 2 weeks ago* (last edited 2 weeks ago) by xoron@mastodon.social to c/programming@programming.dev
[-] xoron@mastodon.social 2 points 3 weeks ago* (last edited 3 weeks ago)

@ericjmorey I'm fairly new to mastodon. I was investigating Lemmy separately, and didn't know it connects through mastodon.

Still generally trying to figure things out.

1
(mastodon.social)

xoron

joined 6 years ago