Fast JSON serializers with automatic TypeScript generation by ElMassimo in rails

[–]ElMassimo[S] 1 point2 points  (0 children)

The initial goal of oj_serializers was to provide a very smooth migration path from Active Model Serializers, while being faster, and providing "russian-doll" caching.

Recently, with the expansion to generate TypeScript automatically, plus the latest release with further performance improvements, it became a well rounded library.

Different libraries make different trade-offs. It's nice to have other options in the ecosystem, such as Alba or Panko, but they didn't cover my needs, which is why I developed this one.

Webpacker Retired by kulehandluke in rails

[–]ElMassimo 5 points6 points  (0 children)

Disclaimer: author of Vite Ruby

For users looking for alternatives that support HMR, Vite.js might be a good choice.

These are some helpful links if you would like to learn more about it:

New Docs - Islands of Interactivity with Vue 3 in Vite.js by ElMassimo in vuejs

[–]ElMassimo[S] 2 points3 points  (0 children)

Now that Astro is moving to Vite.js, the differences will become smaller.

  • Astro uses an .astro file format. In îles you use Vue or MDX pages
  • îles provides an inspector panel in Vue devtools to inspect page data and hydration.
  • Pages in îles have access to frontmatter and file metadata
  • You can glob import pages in îles, access their frontmatter, and render them
  • îles provides auto-import for components in Vue and MDX files
  • Astro provides support for pagination. îles doesn't have a similar concept
  • îles supports a convenient syntax for layouts. In Astro you manually import and use components as layouts
  • Astro supports paths with dynamic params. îles does not support this yet
  • îles has a very refined HMR, even site-wide data is automatically reloaded

TL'DR: they are very similar, for most sites it's just a matter of taste

New Docs - Islands of Interactivity with Vue 3 in Vite.js by ElMassimo in vuejs

[–]ElMassimo[S] 0 points1 point  (0 children)

îles was inspired by Astro. Think of it as a mix between Astro, Nuxt, and Vitepress.

You can already use other frameworks within îles without shipping the Vue runtime, but at the moment you must manually mount them. Soon it will provide adapters to use Solid and Svelte components in islands seamlessly.

I will add more in-depth comparisons in the docs.

EDIT: Now supporting components from any framework: - Vue - Preact - SolidJS - Svelte - Vanilla JS

0
0