Tag Archives: Drilling

Using Modals In React.js, The Right Way (ZERO prop drilling) – React Dev Feed

Using Modals In React.js, The Right Way (ZERO prop drilling) What if controlling a modal was easy as writing the following effect: const someModal = useModal() useEffect(() => { if (someModal.isOpen) { setTimeout(someModal.close, 1000) } }, [someModal]) Enter fullscreen mode Exit fullscreen mode My name is Itay Schechner, and I’m a growing fullstack develoepr who…

Read More