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

Refactor masonry class component to function component #83

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rodrigovcortezi
Copy link

@rodrigovcortezi rodrigovcortezi commented Feb 7, 2022

Hello everyone!

Took the time to refactor this amazing masonry component to a function component using react hooks. As the react community seems to be moving to this direction, I belive this is an important refactoring, specially considering the future of this project’s maintainability.

The component’s API stays untouched, and changes to the code have been made in a way changes were kept as minimal as possible.

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.

2 participants