Skip to content

Simplify useBuildComponentCallback #82

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

Merged
merged 6 commits into from
Jun 22, 2025
Merged

Simplify useBuildComponentCallback #82

merged 6 commits into from
Jun 22, 2025

Conversation

compulim
Copy link
Owner

@compulim compulim commented Jun 22, 2025

Changelog

Please copy and paste new entries from CHANGELOG.md here.

Changed

  • Simplified useBuildComponentCallback hook by returning a component or undefined, and will no longer return false and null, by @compulim in PR #82

Specific changes

Please list each individual specific change in this pull request.

  • Simplified useBuildComponentCallback hook by returning a component or undefined, and will no longer return false and null
    • false and null is still accepted from middleware, but we will return undefined instead
  • Removed prop-types as it is no longer used

@compulim compulim marked this pull request as ready for review June 22, 2025 14:29
@compulim compulim merged commit e6dfb8e into main Jun 22, 2025
15 checks passed
@compulim compulim deleted the clean-up branch June 22, 2025 14:32
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.

1 participant