title: When to use useImperativeHandle, useLayoutEffect, and useDebugValue
body: <p>I cannot understand why the following <code>useImperativeHandle</code>, <code>useLayoutEffect</code>, and <code>useDebugValue</code> hooks are needed, can you give examples when they can be used, but not examples from the documentation please.</p>