[improvement] Migrations (#217)
* Add better migrations * Improves migrations * rename dev to example * renames migrate * Removes workers from git * Remove rogue dependency * Fix dropdown navigation by keyboard
This commit is contained in:
parent
cb777c85d1
commit
fe2e3c81fe
53 changed files with 516 additions and 271 deletions
|
@ -1,14 +0,0 @@
|
|||
import * as React from 'react'
|
||||
import { TLDraw } from '@tldraw/tldraw'
|
||||
|
||||
export default function ChangingId() {
|
||||
const [id, setId] = React.useState('example')
|
||||
|
||||
React.useEffect(() => {
|
||||
const timeout = setTimeout(() => setId('example2'), 2000)
|
||||
|
||||
return () => clearTimeout(timeout)
|
||||
}, [])
|
||||
|
||||
return <TLDraw id={id} />
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue