Skip to content

Commit

Permalink
chore: remove direct react dep for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
mabels committed Feb 3, 2025
1 parent 622a730 commit 942d02e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion package-use-fireproof.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"license": "Apache-2.0 OR MIT",
"gptdoc": "Fireproof/React/Usage: import { useLiveQuery, useDocument } from 'use-fireproof'; function App() { const result = useLiveQuery(doc => doc.word, { limit: 10 }); const [{ count }, setDoc, saveDoc] = useDocument({_id: 'count', count: 0}); return (<><p>{count} changes</p><input type='text' onChange={() => saveDoc({count: count + 1})} onSubmit={e => useLiveQuery.ledger.put({word: e.target.value})} /><ul>{result.map(row => (<li key={row.id}>{row.key}</li>))}</ul></>)}",
"dependencies": {
"react": "from-package-json",
"@fireproof/core": "from-package-json"
},
"peerDependencies": {
Expand Down

0 comments on commit 942d02e

Please sign in to comment.