SvelteKit 3 puts heat on Next.js with radical approach to RPCs
Remote functions bring type-safe remote procedure calls right into Web page components
In today's sprawling JavaScript ecosystem, Svelte was designed to be a simpler alternative to the React.js front-end framework, and SvelteKit follows the same path, setting out to be a backend framework like Next.js but with fewer headaches and even better support for dynamic content.
The new-ish SvelteKit 3.0 release candidate includes an experimental feature called remote functions that rethinks how data is delivered to the browser.
“Remote functions make everything else look a bit clunky, including SvelteKit’s load functions and actions,” the project team enthused in the release candidate announcement page.
A slender stack
U.K. journalist Rich Harris, then a graphics editor at the New York Times, released Svelte 1.0in 2016 as a JavaScript component builder that didn’t carry all the boilerplate that lumbered React.js. He needed an easier way to build graphical components for NYT...
Copyright of this story solely belongs to theregister.com. To see the full text click HERE