Skip to content

Conversation

@dessalines
Copy link
Member

@dessalines dessalines commented Jan 17, 2026

See below issue for context

This was a larger refactor done over the weekend, but I've removed all but a few .binds from the codebase, and also fixed a lot of previously hidden bugs in the process.

The diffs aren't clean because all the handler functions were moved to the bottom, but very little logical changes were necessary.

I tested and everything seems to work fine.

@dessalines dessalines marked this pull request as ready for review January 20, 2026 02:19
Copy link
Member

@Nutomic Nutomic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine in my quick testing. I believe the lint jsx-no-bind covers this, so you can use that.

@dessalines
Copy link
Member Author

That lint looks like its for something else (not allowing binds in jsx), but I prefer never allowing binds even in regular code.

I'll merge as this is a big refactor.

@dessalines dessalines merged commit a3d9244 into main Jan 20, 2026
2 checks passed
@dessalines dessalines deleted the remove-bind-2 branch January 20, 2026 14:01
@dessalines dessalines mentioned this pull request Jan 21, 2026
3 tasks
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.

Remove all constructor binds and internal class method event handlers

3 participants