React popper example fo react classes
codeasashu opened this issue · 3 comments
codeasashu commented
First of all, thank you for open-sourcing such a wonderful library.
On the page https://popper.js.org/react-popper/v2/react-portals/
As a user using reactjs using classes, I am unable put the example provided, in my context. I am seeing useState
and useEffect
everywhere and I don't know who it will fit for me in react classes.
Please add an example (if possible) showing how to use react-popper
in react classes. Thank you :)
FezVrasta commented
You can use the render-props API
codeasashu commented
@FezVrasta Yes, I've read the page but it is only a reference guide. There is not a single example explaining on the page explaining how to use the render-props. Is there any code/fiddle that shows how to use it?