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

[stable29] Fix: use composables in setup function #6017

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

max-nextcloud
Copy link
Collaborator

@max-nextcloud max-nextcloud commented Jul 8, 2024

📝 Summary

Composables should go into the setup function.
Backporting this aspect from #6015.

Also use useElementSize rather than useResizeObserver as it's exactly what we want.

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • No tests as these fixes relate to the coding style and have no user visible changes.
  • No docs required either.

Signed-off-by: Max <max@nextcloud.com>
* Use `useElementSize` instead of `useResizeObserver`.
* These composables are meant to be used in composition API style.

Signed-off-by: Max <max@nextcloud.com>
@mejo- mejo- merged commit 1a30f2f into stable29 Jul 9, 2024
57 of 59 checks passed
@mejo- mejo- deleted the backport/stable29/use-setup-function branch July 9, 2024 09:42
@max-nextcloud
Copy link
Collaborator Author

/backport to stable28

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.

3 participants