Replies: 2 comments
-
Hi @fredboyle have you tried Dynamic params? It may help you to achieve what you're looking for. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Spone I thought of that but was hoping for something more generic and less Lookbook-specific. Additionally, the parameter name is configurable so is dynamic itself. If there's nothing other an dynamic params than it'll have to do. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to figure out how to replicate the Rails
params
hash in a standard view but in a Lookbook preview.The preview classes don't receive a request or params object so how can we retrieve the query params from the URL in a Lookbook preview?
This is to enable functionality in components, such as pagination, that pass values to the URL and reload the page.
Thanks for your guidance.
Beta Was this translation helpful? Give feedback.
All reactions