The following code gives a `null` value for `ref.current`: ```jsx const ref = useRef(); useEffect(() => { console.log(ref); }, [ref]); return ( <JsonView ref={ref} ... /> ) ```