0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-22 08:58:11 +00:00
Files
homebrewery/client/entry-client-homebrew.jsx
Víctor Losada Hernández 20678ba420 dev base (kinda stable)
2026-01-30 12:41:14 +01:00

14 lines
338 B
JavaScript

import React from 'react'
import { hydrateRoot } from 'react-dom/client'
import Homebrew from './homebrew/homebrew.jsx'
// CSS MUST be imported here
import './homebrew/homebrew.less' // or wherever your CSS lives
window.start_app = (props) => {
hydrateRoot(
document.getElementById('reactRoot'),
<Homebrew {...props} />
)
}