This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// App.jsx | |
//custom props | |
import logo from "./logo.svg"; | |
import styles from "./App.module.css"; | |
import { createSignal } from "solid-js"; | |
import Child from "./Child"; | |
function App() { | |
// Create a reactive signal in the parent component | |
const [parentMessage, setParentMessage] = createSignal("Hello from Parent!"); |