Skip to content

Conversation

@PandesalPanpan
Copy link
Contributor

… binding

Because

This PR

  • Adds a mention that defining methods using arrow function syntax automatically bounds this to the class instance, skipping manually binding in the constructor.

Issue

Closes #30292

Additional Information

Pull Request Requirements

  • I have thoroughly read and understand The Odin Project curriculum contributing guide
  • The title of this PR follows the location of change: brief description of change format, e.g. Intro to HTML and CSS lesson: Fix link text
  • The Because section summarizes the reason for this PR
  • The This PR section has a bullet point list describing the changes in this PR
  • If this PR addresses an open issue, it is linked in the Issue section
  • If any lesson files are included in this PR, they have been previewed with the Markdown preview tool to ensure it is formatted correctly
  • If any lesson files are included in this PR, they follow the Layout Style Guide

@github-actions github-actions bot added the Content: React Involves the React course label Nov 1, 2025
@CouchofTomato CouchofTomato merged commit c5366c1 into TheOdinProject:main Nov 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content: React Involves the React course

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Class Based Components: Mention of arrow function

2 participants