You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…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
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: