Skip to main content

Cargo Parcel – Server-Side and Dynamic Frontend Components

Cargo Parcel provides a solution for server-side rendered and dynamic frontend components to bring your websites alive. It was developed with a server-side first approach in mind and is implemented Deno first, but does support other runtimes and platforms as well.

Features:

  • Based on TSX components
  • Server-side rendering first.
  • Reactive state in the frontend
  • Small bundle size in the frontend (3.5kb).

On the roadmap (Not implemented yet)

  • Component lifecycle hooks / effects for async calls and cleanup logic

Integration with Cargo

This module exports a Task called Parcel for Cargo. This task can be use in the tasks.onBootstrap hook of Cargos config.