Just a suggestion, a online demo will be very helpful for people who want to try this package onboard.
Thanks!
UPDATE:
I created one here: https://stackblitz.com/edit/react-yc5bpb?file=index.js
But feel free to create an official one
@Hongbo-Miao There are examples if you clone the repo and run it locally. I actually have an open PR (#83) that modularizes them a bit and adds a new one.
@greg-a-smith thanks, I think if we can provide an online demo, that will be very helpful for people to see it directly without complex steps.
And also easy for people to fork and reproduce the issues they found .
(Please feel free to close this one)
+1 for online demo
If anyone is interested, please create one using codesandbox.io, then we can link to its full-screen preview.
What's wrong with the one linked (stackblitz)? It's faster and has more features (like being able to develop and use/run offline and more).
You can use the "share" button from that link to customize the preview.
need full screen? https://react-yc5bpb.stackblitz.io
Hi @FezVrasta codesandbox has 50 free limitation, since it easily to use all of them, I have to keep removing the old ones.
Maybe just use stackblitz?
Oh I wasn't aware of the 50 free limitation, that sucks.
Yup stackblitz looks good then, but we'd need the complete demo example already available in the repository
Done:
With editor: https://stackblitz.com/edit/react-popper-example?file=index.html
With "embed" editor: https://stackblitz.com/edit/react-popper-example?embed=1&file=index.js
Fullscreen: https://react-popper-example.stackblitz.io
Thanks! I asked @souporserious to add it to the repo description.
This project needs much better documentation on how to use it. The demo linked here is cool and all but it doesn't use the new hooks method.
The docs are on popper.js.org
Most helpful comment
+1 for online demo