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

[Table] Final cleanups from perf work #1225

Merged
merged 3 commits into from
Jun 12, 2017
Merged

Conversation

cmslewis
Copy link
Contributor

@cmslewis cmslewis commented Jun 12, 2017

Some final, tiny cleanups from last week's Table perf work:

  • Move from anonymous functions to private functions in ColumnHeaderCell.
  • Use fat arrow instead of .bind(this) in index.tsx
  • Provide indices to cells when editing is disabled on Table preview.

@@ -181,17 +181,17 @@ class MutableTable extends React.Component<{}, IMutableTableState> {
// Renderers
// =========

public renderColumns() {
private renderColumns() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure why this was public; it's not used anywhere.

@blueprint-bot
Copy link

Move away from .bind(this) in index.tsx

Preview: documentation | table
Coverage: core | datetime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants