DEV Community

Discussion on: Rakkas js , What if nextjs used vite

Collapse
 
redbar0n profile image
Magne • Edited

How does Rakkas compare with vite-plugin-ssr?

What are the 3 main points of differentiation / opinionation ?

Collapse
 
tigawanna profile image
Dennis kinuthia
  • Rakkasjs has API routes
  • Rakkasjs has the deployment adapters
  • rakkas has server only query/mutation helpers

Vite-plugin-ssr is more lower level version, even the router in it is just the primitives no hooks or link components unlike Rakkasjs

Collapse
 
redbar0n profile image
Magne

Thank you for that summary!

Collapse
 
redbar0n profile image
Magne

I think vite-plugin-ssr has a Link component? vite-plugin-ssr.com/active-links

Thread Thread
 
tigawanna profile image
Dennis kinuthia • Edited

Oh , what I've gleaned from reading through the docs and their twitter Interaction , they're advertising it as a framework to build your own framework. It has a lot of exposed primitives. Frameworks like Rakkasjs abstract more away from the end user

Thread Thread
 
redbar0n profile image
Magne

Yeah, they do. Maybe the respective authors @cyco130 (rakkas) and @brillout (vps) can shed some light on the specific diff between Rakkas and vite-plugin-ssr (aka. Vike) ?

Thread Thread
 
brillout profile image
Romuald Brillout

@tigawanna is right about the differences. Although Vike React will make Vike (new upcoming name of vite-plugin-ssr) much closer to Rakkas in terms of asbtraction level.

Fatih and myself PM a lot, so it's safe to assume that Rakkas/Vike inspire each other :-) (Vike definitely does from Rakkas e.g. Vike's new authentication DX is heavily inspired by both SvelteKit and Rakkas).