componentDidMount hook for React
import { useDidMount } from "rooks"; export default function App() { useDidMount(function() { console.log("mounted"); }); return null; }
To enter the code editing mode, press Enter. To exit the edit mode, press Escape
You are editing the code. To exit the edit mode, press Escape
Join our discord server! You can click the floating discord icon at the bottom right of the screen and chat with us!