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

feat(packages/sui-pde): add getDecision function #1869

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

javiauso
Copy link
Contributor

Description

Add getDecision function to allow features in places like getInitialProps.

image

image

Copy link
Contributor

@jordevo jordevo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! 👏

Copy link

@hpintos hpintos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -2,6 +2,7 @@ export {default as PDE} from './pde.js'
export {default as useFeature} from './hooks/useFeature.js'
export {default as PdeContext} from './contexts/PdeContext.js'
export {default as useExperiment} from './hooks/useExperiment.js'
export {default as getDecision} from './hooks/common/getDecision.js'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a hook indeed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I will look for a better location, thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done! @kikoruiz

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's worth a test, isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, I will add it 👌🏼

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done! @kikoruiz

Copy link
Member

@kikoruiz kikoruiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@javiauso javiauso merged commit d05061e into master Nov 13, 2024
2 checks passed
@javiauso javiauso deleted the feat-sui-pde-get-decision-function branch November 13, 2024 15:10
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.

8 participants