Benjamin Cheng Scalabrin
Benjamin Cheng Scalabrin
Hi, I believe the best alternative is fork this repo and create a new package, same as [react-native-fbsdk-next](https://github.com/thebergamo/react-native-fbsdk-next/) did.
@codingkapoor try this `const target = useRef(null); const parent = useRef(null); const [visible, setVisible] = useState(false); return ( setVisible(true)} ref={target}> Click me setVisible(false)} clickToHide /> ); `