# ube-ssr
**Repository Path**: mirrors_WebReflection/ube-ssr
## Basic Information
- **Project Name**: ube-ssr
- **Description**: An SSR, islands friendly, way to render ube components.
- **Primary Language**: Unknown
- **License**: ISC
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-06-15
- **Last Updated**: 2026-01-03
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# µbe-ssr

**Original Social Media Photo by [JOSE LARRAZOLO](https://unsplash.com/@joseadd) on [Unsplash](https://unsplash.com/)**
An SSR, islands friendly, way to render [µbe components](https://github.com/WebReflection/ube#readme) on the page, either dynamically, or statically, producing single SPA like files that are also easy to share.
**Features**
* based on [js-in-json](https://github.com/WebReflection/js-in-json)
* incremental or "*all at once*" **hydration** via builtin elements (no Custom Elements, no Polyfills needed)
* can generate, or build, on the fly, or produce static HTML pages with all dependencies on demand served within it (no network requests)
* bootstraps and serve pre-cached js-in-json content in 0 to few milliseconds
### How to
```js
import http from 'http';
import ube from 'ube-ssr';
const {
// provides same ube helpers
render, html, svg,
// plus utilities to define components
// and bootstrap before serving
include, bootstrap
} = ube({
// all same options available in js-in-json
...options,
// plus optional `flush`:
// if `incremental`, will flush after each component,
// otherwise will add a