-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first time[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code quality[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Description
The official recommendation for writing React components is as follows.
All components should be implemented as function components, using hooks for managing component lifecycle and state.
If you're a new/junior contributor looking to help with this refactoring, follow these steps:
- Search for class components on the codebase (For example by searching
extends Component - Pick a component to refactor.
- Comment on this issue saying that you're working on the said component.
Note This is a tracking issue for the React components guidelines. This issue is tailored specifically for junior and new contributors. Experienced contributors shouldn't do big refactorings unless they update the code for another reason (bug fix, feature).
ellatrix, maheshwaghmare, ajitbohra, cliffordp, arunsathiya and 2 moreyashjawale, USERSATOSHI, Adi-ty, DarkMatter-999 and coderGtm
Metadata
Metadata
Assignees
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first time[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code quality[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.