Skip to content

Commit 57b1ab6

Browse files
authored
Performance improvements with fine-grained reactivity (#11)
* Performance improvements with fine-grained reactivity * Expand test coverage * Update demo page * changesets * Expose read and write access to base row data * tweak unit tests
1 parent 2b1efda commit 57b1ab6

11 files changed

+467
-88
lines changed

Diff for: .changeset/metal-experts-glow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@careswitch/svelte-data-table': minor
3+
---
4+
5+
Expose read and write access to base row data

Diff for: .changeset/strange-bulldogs-wave.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@careswitch/svelte-data-table': patch
3+
---
4+
5+
JSDoc comments for better documentation

Diff for: .changeset/strong-beds-care.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@careswitch/svelte-data-table': patch
3+
---
4+
5+
Expand test coverage for edge cases

Diff for: .changeset/twelve-tables-battle.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@careswitch/svelte-data-table': patch
3+
---
4+
5+
Performance improvements with fine-grained reactivity

Diff for: README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
---
44

55
- No dependencies
6-
- TypeScript
7-
- Supports SvelteKit, SSR, Svelte 5
8-
- Works great with shadcn [Data Table](https://www.shadcn-svelte.com/docs/components/data-table)
6+
- Blazing fast thanks to Svelte 5 and fine-grained reactivity
7+
- Fully typed with TypeScript
8+
- Comprehensive unit tests
9+
- Supports SvelteKit and SSR
10+
- Works great with shadcn [data table](https://www.shadcn-svelte.com/docs/components/data-table)
911

1012
## Demo
1113

@@ -60,4 +62,4 @@ _Requires Svelte 5 peer dependency_
6062

6163
## Examples
6264

63-
Reference the demo website [+page.svelte](./src/routes/+page.svelte) for a more comprehensive example.
65+
Refer to the demo website [+page.svelte](./src/routes/+page.svelte) and [unit tests](./src/index.test.ts) for more comprehensive examples.

Diff for: package-lock.json

+44-43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/app.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@
7373
@apply border-border;
7474
}
7575
body {
76-
@apply min-h-screen bg-background font-sans text-foreground antialiased;
76+
@apply min-h-dvh bg-background font-sans text-foreground antialiased;
7777
}
7878
}

0 commit comments

Comments
 (0)