How to correctly call function from component in another component – SEO
I saw a few similar questions, but about parent/child elements, i have that kind of node tree: IndexPage -> Modals -> ClientDetails(it's modal component) -> Header I want to call ClientDetails.openModal inside Header, tried many ways like creating refs for…