-
Notifications
You must be signed in to change notification settings - Fork 33
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
[sui-pde] use structured args in useFeature #1418
Comments
Agree! It means a major version |
Request accepted |
rmoralp
changed the title
Request: use structured args in useFeature
[sui-pde] use structured args in useFeature
Sep 29, 2022
@rmoralp, can you please assign this issue to me? |
theonly1me
added a commit
to theonly1me/sui
that referenced
this issue
Oct 5, 2022
…d arguments instead of raw argu update useFeature hook so that users can only pass in the required parameters via structured arguments ISSUES CLOSED: SUI-Components#1418
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Package
@s-ui/pde@2
after #1410
Description
The hooks signature for
useExperiment
anduseFeature
is not coherent as:useExperiment({experimentName, ...})
has structured args so you can pass to it the args you want in each field, p.ex.useFeature(...)
has raw args so you need to pass all args to fill the last oneIt would be nice to have both hooks signatures with structured args.
The text was updated successfully, but these errors were encountered: