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

Migrate React /component components to Flow component syntax #3236

Merged

Conversation

reosarevok
Copy link
Member

Flow now supports a specific React Component Syntax which reduces the amount of types we need to define manually, and is supposed to be better for type checking as well. I'm converting our React components to this syntax bit by bit with this PR.

This changes all stuff in the components subfolder.

Note: To be reviewed without whitespace changes (since this adds explicit return() calls that require spacing things one more tab in many cases).

On top of #3230

@reosarevok reosarevok added the Refactoring Refactoring-only PRs (eslint fixes etc) label Apr 15, 2024
@reosarevok reosarevok marked this pull request as draft April 15, 2024 14:03
@reosarevok reosarevok force-pushed the flow-component-syntax-components branch 2 times, most recently from 8f44e84 to 76eee9d Compare April 16, 2024 09:08
@reosarevok reosarevok force-pushed the flow-component-syntax-components branch from 76eee9d to 6448c39 Compare May 17, 2024 14:11
@reosarevok reosarevok marked this pull request as ready for review May 17, 2024 14:11
@reosarevok reosarevok force-pushed the flow-component-syntax-components branch from 6448c39 to ed3a639 Compare May 17, 2024 14:29
@reosarevok reosarevok merged commit 5d53f9a into metabrainz:master May 17, 2024
0 of 2 checks passed
@reosarevok reosarevok deleted the flow-component-syntax-components branch May 17, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactoring Refactoring-only PRs (eslint fixes etc)
Projects
None yet
2 participants