
- Refactored the App component to streamline routing using the Router and Route components. - Introduced a new Search component to handle search functionality, including input handling and result display. - Removed inline search logic from the App component for better separation of concerns. - Updated index.tsx to render the App component directly, simplifying the routing structure.
9 lines
186 B
TypeScript
9 lines
186 B
TypeScript
/* @refresh reload */
|
|
import { render } from "solid-js/web";
|
|
|
|
import "./index.css";
|
|
|
|
import { App } from "./App";
|
|
|
|
render(() => <App />, document.getElementById("root") as HTMLElement);
|