Skip to content

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.

* Use `useElementSize` instead of `useResizeObserver`.
* These composables are meant to be used in composition API style.

Signed-off-by: Max <[email protected]>
@mejo- mejo- merged commit 1a30f2f into stable29 Jul 9, 2024
@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.

4 participants