Skip to content

Refactor masonry class component to function component#83

Open
rodrigovcortezi wants to merge 3 commits into
paulcollett:masterfrom
rodrigovcortezi:function-component
Open

Refactor masonry class component to function component#83
rodrigovcortezi wants to merge 3 commits into
paulcollett:masterfrom
rodrigovcortezi:function-component

Conversation

@rodrigovcortezi

@rodrigovcortezi rodrigovcortezi commented Feb 7, 2022

Copy link
Copy Markdown

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