React Hook, Hooks, React.
rerender when the “id” changes return ( <div> <input typ=”text” value={id} onChange={(e) => setId(e.target.value)} /> <h3>ID:{post.id}=>Title:{post.title}</h3> </div> ) } export default DataFetching 3.useContext() Hook:Context hooks is required to pass data from component to another nested child