mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Add Calendar
This commit is contained in:
parent
be8ebd1227
commit
47a4532d0b
1165 changed files with 156626 additions and 11163 deletions
22
node_modules/preact/compat/client.mjs
generated
vendored
Normal file
22
node_modules/preact/compat/client.mjs
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { render, hydrate, unmountComponentAtNode } from 'preact/compat'
|
||||
|
||||
export function createRoot(container) {
|
||||
return {
|
||||
render(children) {
|
||||
render(children, container)
|
||||
},
|
||||
unmount() {
|
||||
unmountComponentAtNode(container)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export function hydrateRoot(container, children) {
|
||||
hydrate(children, container)
|
||||
return createRoot(container)
|
||||
}
|
||||
|
||||
export default {
|
||||
createRoot,
|
||||
hydrateRoot
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue