Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

share with query params #9

Open
Tracked by #2
acao opened this issue Feb 8, 2023 · 0 comments
Open
Tracked by #2

share with query params #9

acao opened this issue Feb 8, 2023 · 0 comments

Comments

@acao
Copy link
Contributor

acao commented Feb 8, 2023

Current Behavior

There is no way to share user input & results with others

Desired Behavior

As you fill out the user inputs and drag and drop data, query parameters should push to represent that state. Back button using history api should allow you to undo/redo these state changes.

Then, when loading the app with query params, it should automatically fill the state.

Implementation

I think we can use this stack of libraries to make this manageable.

https://www.npmjs.com/package/use-query-params

I could also write this logic on my own but I'd rather outsource it. Plus adding a router could be useful for other things down the line, and lets us properly use history api

@acao acao mentioned this issue Feb 8, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant