0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-22 08:58:11 +00:00
Files
homebrewery/client/homebrew/main.jsx
Víctor Losada Hernández b5598ac423 trying to get this to work
2026-02-01 20:37:09 +01:00

8 lines
266 B
JavaScript

import { createRoot } from "react-dom/client";
import Homebrew from "./homebrew.jsx";
const props = window.__INITIAL_PROPS__ || {};
console.log('props: ', window.__INITIAL_PROPS__);
createRoot(document.getElementById("reactRoot")).render(<Homebrew {...props} />);