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

Read URL Query Params MVP #428

Merged
merged 1 commit into from
May 1, 2024
Merged

Read URL Query Params MVP #428

merged 1 commit into from
May 1, 2024

Conversation

calebjacob
Copy link
Contributor

@calebjacob calebjacob commented Apr 25, 2024

Closes: #334

Please check out this comment for more context on the implementation in this PR: #334 (comment)

The implementation itself is pretty simple and should be easy to refactor if any of us have concerns down the road. Here's an example component you can check out: https://bos-web-engine-git-feat-read-url-f462bd-near-developer-console.vercel.app/near/RocTest?foobar=abc

I made sure this implementation will support Next's <Link> component (client side routing) if/when we start using that inside our RoC components. The query parameters update and the root component receives the updated props.

Viewing the gateway:

Screen Shot 2024-04-25 at 11 53 26 AM

Viewing the sandbox:

Screen Shot 2024-04-25 at 12 05 41 PM

Copy link

vercel bot commented Apr 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
bos-web-engine ✅ Ready (Inspect) Visit Preview Apr 25, 2024 6:14pm
bos-web-engine-docs ✅ Ready (Inspect) Visit Preview Apr 25, 2024 6:14pm
bos-web-engine-sandbox ✅ Ready (Inspect) Visit Preview Apr 25, 2024 6:14pm

@mpeterdev mpeterdev merged commit 2576206 into main May 1, 2024
6 checks passed
@mpeterdev mpeterdev deleted the feat/read-url-query-params branch May 1, 2024 15:23
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

Successfully merging this pull request may close these issues.

Support reading URL query params
2 participants