Skip to content

Commit d6f8151

Browse files
authored
Re-enable SSR (#789)
* Re-enable SSR * Add `nodejs_compat` compatibility flag and bump compat date (match setting in Cloudflare UI) * Update README
1 parent 8a087d3 commit d6f8151

3 files changed

Lines changed: 7 additions & 22 deletions

File tree

README.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,12 @@
99

1010
A large collection of composable Svelte chart components to build a wide range of visualizations
1111

12-
- Cartesian (Bar, Area, Stack, Scatter)
13-
- Radial (Pie, Arc, Sunburst)
14-
- Hierarchy (Pack, Tree, Treemap, Sunburst)
15-
- Graph (Sankey)
12+
- Cartesian (Area, Bar, Line, Scatter)
13+
- Radial/polar charts (Arc, Area, Bar, Line, Radar, Pie)
14+
- Hierarchical (Pack, Partition, Tree, Treemap)
15+
- Graph (Dagre, Force, Sankey)
1616
- Geo (Choropleth, Spike, Bubble, Point, Globe)
17-
18-
Interactions
19-
20-
- Tooltip, Highlights, Pan/Zoom
21-
22-
SVG
23-
24-
- Basic (Arc, Circle, Group, Line, Spline, Text)
25-
- Gradients and Patterns
26-
- ClipPath
27-
- Multi-line text
28-
29-
Others
30-
31-
- Legends including ColorRamps
17+
- Calendar
3218

3319
See also the companion library [Svelte UX](http://svelte-ux.techniq.dev) for a large collection of components, actions, stores, and utilities to build highly interactive applications.
3420

docs/src/routes/+layout.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import posthog from 'posthog-js';
22

33
import { browser, dev } from '$app/environment';
44

5-
// Disable server-side rendering until AppLayout shift is fixed (issue #22)
6-
export const ssr = false;
7-
85
export const load = async ({ data }) => {
96
// Setup Posthog
107
if (browser && !dev) {

docs/wrangler.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
compatibility_date = "2026-01-20"
2+
compatibility_flags = ["nodejs_compat"]

0 commit comments

Comments
 (0)