Tidied some things up in the process, removing useImperativeHandle for an event emitter setup because I was tired of React fighting me.
Ability to customize the dataset and share that. When using a preset dataset, it won't store the whole dataset in query params, just the dataset preset key.
In a follow-up, I'll be adding in some toasts to notify user when e.g. share URL was copied to clipboard.
This PR adds in some share functionalities:
Cmd + S
will copy share URL to clipboarduseImperativeHandle
for an event emitter setup because I was tired of React fighting me.In a follow-up, I'll be adding in some toasts to notify user when e.g. share URL was copied to clipboard.