What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-17 14:09:01
two way binding react
import React, { useState } from “react”; import Child from “./Child”; function Parent(props) { const [text, setText] = useState(“Hello”); return ( <div> <h1>{text}</h1> <Child changeText={(text) =&g... Add solution
Best helpers
Ranking is empty