News for hackers. Stuff that matters.
Re:Rich Harris joins Vercel to work on Svelte full time by bGl2YW5j on Thursday November 11, 2021 @07:16PM (#29194925)
Perhaps a shift in mindset about how to approach using Svelte would help. Svelte is not React, and using React for an extended period really changes how you think about frontend code (structure-wise etc).

As a quick example, the Svelte 'ecosystem' is simply the Javascript ecosystem, which existed well before React. You can import any npm module to a Svelte app. Outside of the React-specific packages (which I argue are overkill), such as Redux or Redux-enabled form libraries, what are you missing? Pre-styled components like calendars, modals, popups, are available in a range of vanilla-JS packages. Anything more than that and it's possible that React thinking has over-complicated your approach.

Re:Rich Harris joins Vercel to work on Svelte full time by Aeolun on Thursday November 11, 2021 @07:48PM (#29195125)
Redux is not React specific. I assume you could use it with Svelte somehow.

That said, most React components are lightyears ahead of native Javascript components, simply because everyone uses React.

Re:Rich Harris joins Vercel to work on Svelte full time by acemarke on Friday November 12, 2021 @11:33AM (#29201138)
Yes, and in fact we even have a demo of our new RTK Query data fetching API (part of our official Redux Toolkit package) being used with Svelte:

https://redux-toolkit.js.org/rtk-query/usage/examples#svelte

Re:Rich Harris joins Vercel to work on Svelte full time by joeyjojo on Thursday November 11, 2021 @11:21PM (#29196272)
I'm looking forward to picking up Svelte and just going back OOP for state management. Immutable state with React was a massive eye opener, but right now I think OOP is just better for state management, especially with all the insights gained from using React.
Re:Rich Harris joins Vercel to work on Svelte full time by tshaddox on Thursday November 11, 2021 @08:16PM (#29195289)
How about unstyled components like a dropdown menu or a multi-select with autocomplete?