Add Remote type constructor. Setup basic State/Msg/effects/Reducer. Format

This commit is contained in:
Yura Dupyn 2026-05-14 23:03:48 +02:00
parent ae6451e052
commit 473897fdfc
5 changed files with 238 additions and 67 deletions

View file

@ -1,16 +1,16 @@
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App';
import './index.css';
import { StrictMode } from "react"
import { createRoot } from "react-dom/client"
import App from "./App"
import "./index.css"
const rootElement = document.getElementById('root');
const rootElement = document.getElementById("root")
if (rootElement === null) {
throw new Error('Root element #root was not found.');
throw new Error("Root element #root was not found.")
}
createRoot(rootElement).render(
<StrictMode>
<App />
</StrictMode>,
);
)