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

chore(useData): enhance flexibility #3248

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Conversation

tujoworker
Copy link
Member

When the initial value was given in the Form.Handler, it never got set in useData. Now we have several test cases for this too. This change needed some more rewrite of the internal structure. Also, we move from state to ref in the useData hook.

When the initial value was given in the Form.Handler, it never got set in useData. Now we have several test cases for this too. This change needed some more rewrite of the internal structure. Also, we move from state to ref in the useData hook.
Copy link

vercel bot commented Jan 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eufemia ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 19, 2024 9:33pm

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1fb0284:

Sandbox Source
eufemia-starter Configuration

@tujoworker tujoworker requested a review from joakbjerk January 22, 2024 07:18
Copy link
Contributor

@joakbjerk joakbjerk left a comment

Choose a reason for hiding this comment

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

Nice! 🏆

@tujoworker tujoworker merged commit eff0caf into main Jan 22, 2024
15 checks passed
@tujoworker tujoworker deleted the chore/enhance-use-data branch January 22, 2024 07:55
@tujoworker
Copy link
Member Author

🎉 This PR is included in version 10.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants