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

🪝 [useElementRect] New hook that could be useful to consumers #16

Merged
merged 5 commits into from
Apr 13, 2024

Conversation

beefchimi
Copy link
Owner

@beefchimi beefchimi commented Apr 13, 2024

I am introducing a new useElementRect() hook that will aggressively keep track of an elements DOMRect.

While this is not currently used within useVurtis(), it could be helpful for consumer's. I may come back and remove this at some point.

Also, I've revised the updateItemHeight() method from useVurtis(). I don't think that tracking itemHeight as a dependency makes any sense, so I've removed it.

Lastly, I've done a few dependency bumps. I've also bumped the required node/npm version.

@beefchimi beefchimi self-assigned this Apr 13, 2024
Copy link

changeset-bot bot commented Apr 13, 2024

🦋 Changeset detected

Latest commit: 24a207f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
vurtis Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added 🛠️ Tooling Relating to build tooling or deployment 🧰 Dependency Any dependency change (add / remove / downgrade / update) labels Apr 13, 2024
@beefchimi beefchimi added the ✨ Feature New addition to the codebase (feature, utility, component, etc.) label Apr 13, 2024
@beefchimi beefchimi merged commit f4461c2 into main Apr 13, 2024
3 checks passed
@beefchimi beefchimi deleted the use-element-rect branch April 13, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧰 Dependency Any dependency change (add / remove / downgrade / update) ✨ Feature New addition to the codebase (feature, utility, component, etc.) 🛠️ Tooling Relating to build tooling or deployment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant