8000 [hygiene] StrictMode and bump · tinyplex/vite-tinybase-ts-react@cc8b847 · GitHub
[go: up one dir, main page]

Skip to content

Commit cc8b847

Browse files
committed
[hygiene] StrictMode and bump
1 parent 58fe9cb commit cc8b847

File tree

3 files changed

+82
-79
lines changed

3 files changed

+82
-79
lines changed

package-lock.json

Lines changed: 47 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"name": "vite-tinybase-ts-react",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"scripts": {
55
"dev": "vite --force",
66
"build": "tsc && vite build",
77
"preview": "vite preview"
88
},
99
"devDependencies": {
10-
"@types/react-dom": "^18.2.8",
11-
"@vitejs/plugin-react": "^4.1.0",
10+
"@types/react-dom": "^18.2.15",
11+
"@vitejs/plugin-react": "^4.1.1",
1212
"typescript": "^5.2.2",
13-
"vite": "^4.4.9"
13+
"vite": "^4.5.0"
1414
},
1515
"dependencies": {
1616
"react": "^18.2.0",
1717
"react-dom": "^18.2.0",
18-
"tinybase": "^4.3.10"
18+
"tinybase": "^4.3.24"
1919
}
2020
}

src/App.tsx

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { StrictMode } from 'react';
12
import { createStore } from 'tinybase';
23
import { Provider, useCreateStore } from 'tinybase/debug/ui-react';
34
import {
@@ -23,32 +24,34 @@ export const App = () => {
2324
});
2425

2526
return (
26-
<Provider store={store}>
27-
<Buttons />
28-
<div>
29-
<h2>Values</h2>
30-
<ValuesInHtmlTable />
31-
</div>
32-
<div>
33-
<h2>Species Table</h2>
34-
<SortedTableInHtmlTable
35-
tableId='species'
36-
cellId='price'
37-
descending={true}
38-
sortOnClick={true}
39-
className='sortedTable'
40-
/>
41-
<h2>Pets Table</h2>
42-
<SortedTableInHtmlTable
43-
tableId='pets'
44-
cellId='name'
45-
limit={5}
46-
sortOnClick={true}
47-
className='sortedTable'
48-
paginator={true}
49-
/>
50-
</div>
51-
<StoreInspector />
52-
</Provider>
27+
<StrictMode>
28+
<Provider store={store}>
29+
<Buttons />
30+
<div>
31+
<h2>Values</h2>
32+
<ValuesInHtmlTable />
33+
</div>
34+
<div>
35+
<h2>Species Table</h2>
36+
<SortedTableInHtmlTable
37+
tableId='species'
38+
cellId='price'
39+
descending={true}
40+
sortOnClick={true}
41+
className='sortedTable'
42+
/>
43+
<h2>Pets Table</h2>
44+
<SortedTableInHtmlTable
45+
tableId='pets'
46+
cellId='name'
47+
limit={5}
48+
sortOnClick={true}
49+
className='sortedTable'
50+
paginator={true}
51+
/>
52+
</div>
< 4B91 code>53+
<StoreInspector />
54+
</Provider>
55+
</StrictMode>
5356
);
5457
};

0 commit comments

Comments
 (0)
0