3 ms·
> I think Web Components, maybe with Lit or Svelte, are making more sense for beginning dev Beginner devs want to get a job, so they should probably spend thei
by chatmasta 4y ago
> I think Web Components, maybe with Lit or Svelte, are making more sense for beginning dev
Beginner devs want to get a job, so they should probably spend their time learning the framework that dominates the ecosystem. Lit and Svelte are cool, but I don't think they're a great target for a first time web developer. Svelte maybe. But definitely not Lit - it's a relatively new library and a moving target without a lot of adoption, meaning there is a sparse ecosystem to fall back on, and you'll need to fill in a lot of gaps yourself (both in terms of libraries for common functionality, and docs/stackoverflow answers for telling you how to do things). Experienced devs can read the source and official docs to figure it out, but newbies need more hand holding.
- benatkin 4y ago> Beginner devs want to get a job Yeah, that's the point I'm making about Deno. If Deno's own devs avoid anything similar to React hooks except when they're trying to appeal to the beginning devs, perhaps it would be smart for beginning devs to try to do as the senior devs do, not as they say? The ecosystem of Lit is the web, which has a lot of great stuff like MDN. It lets you simply use what you learn there. No redirection, like React's onChange translating into the input event.
- chatmasta 4y ago> The ecosystem of Lit is the web, which has a lot of great stuff like MDN I agree with this, and I mostly empathize with the purity aesthetic that comes with it. But I think in practice, you need to do a lot of work for common operations that might have entire libraries dedicated to them in React. If you're a pro developer obsessed with purism, you probably wouldn't use those libraries anyway. But newbies don't have time to worry about re-inventing the wheel (or at least, we shouldn't encourage them to do that, since it will probably be a pretty shitty wheel). All that said, I absolutely love Deno, and I think we should encourage new developers to use it, especially since it sidesteps the need for build steps in many cases.
- tracker1 4y ago> ... avoid anything similar to React hooks ... Really? https://fresh.deno.dev/docs/getting-started/adding-interactivity https://fresh.deno.dev/docs/getting-started/adding-interacti...