Avoid useless renders (#3141)
* feat(eslint): Set react/jsx-no-bind: error * refactor(notifications/setting_toggle): Do not use bind * refactor(components/dropdown_menu): Do not use bind * refactor(components/autosuggest_textarea): Do not use bind * refactor(compose/privacy_dropdown): Do not use bind * refactor(compose/upload_form): Do not use bind * refactor(components/status): Do not use bind * refactor(components/onboarding_modal): Do not use bind * refactor: PR feedback * chore(notifications/setting_toggle): Lint * refactor: PR feedback
Showing
- .eslintrc.yml 1 addition, 0 deletions.eslintrc.yml
- app/javascript/mastodon/components/autosuggest_textarea.js 4 additions, 2 deletionsapp/javascript/mastodon/components/autosuggest_textarea.js
- app/javascript/mastodon/components/dropdown_menu.js 3 additions, 2 deletionsapp/javascript/mastodon/components/dropdown_menu.js
- app/javascript/mastodon/components/status.js 4 additions, 3 deletionsapp/javascript/mastodon/components/status.js
- app/javascript/mastodon/features/compose/components/privacy_dropdown.js 3 additions, 2 deletions.../mastodon/features/compose/components/privacy_dropdown.js
- app/javascript/mastodon/features/compose/components/upload_form.js 7 additions, 2 deletions...cript/mastodon/features/compose/components/upload_form.js
- app/javascript/mastodon/features/notifications/components/setting_toggle.js 25 additions, 13 deletions...todon/features/notifications/components/setting_toggle.js
- app/javascript/mastodon/features/ui/components/onboarding_modal.js 21 additions, 17 deletions...cript/mastodon/features/ui/components/onboarding_modal.js
Loading
Please register or sign in to comment