Skip to content

Commit 9bd3102

Browse files
bahossphp-coder
authored andcommitted
perf: Extend PureComponent instead of Component
Fix #1399
1 parent 8dbd9e1 commit 9bd3102

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/main/frontend/src/components/AddCatalogNumbersForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// You must update ResourceUrl.RESOURCES_VERSION each time whenever you're modified this file!
44
//
55

6-
class AddCatalogNumbersForm extends React.Component {
6+
class AddCatalogNumbersForm extends React.PureComponent {
77
constructor(props) {
88
super(props);
99
this.state = {

src/main/frontend/src/components/AddCatalogPriceForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// @todo #1388 AddCatalogPriceForm: consider using a tooltip for currency
66

7-
class AddCatalogPriceForm extends React.Component {
7+
class AddCatalogPriceForm extends React.PureComponent {
88
constructor(props) {
99
super(props);
1010
this.state = {

src/main/frontend/src/components/AddCommentForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// You must update ResourceUrl.RESOURCES_VERSION each time whenever you're modified this file!
44
//
55

6-
class AddCommentForm extends React.Component {
6+
class AddCommentForm extends React.PureComponent {
77
constructor(props) {
88
super(props);
99
this.state = {

src/main/frontend/src/components/AddReleaseYearForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// You must update ResourceUrl.RESOURCES_VERSION each time whenever you're modified this file!
44
//
55

6-
class AddReleaseYearForm extends React.Component {
6+
class AddReleaseYearForm extends React.PureComponent {
77
constructor(props) {
88
super(props);
99
this.state = {

src/main/frontend/src/components/SeriesSaleImportForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55

66
// @todo #1057 SeriesSaleImportForm: add tests
7-
class SeriesSaleImportForm extends React.Component {
7+
class SeriesSaleImportForm extends React.PureComponent {
88

99
constructor(props) {
1010
super(props);

src/main/frontend/src/components/SimilarSeriesForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55

66
// @todo #1280 SimilarSeriesForm: add tests
7-
class SimilarSeriesForm extends React.Component {
7+
class SimilarSeriesForm extends React.PureComponent {
88

99
constructor(props) {
1010
super(props);

src/main/java/ru/mystamps/web/feature/site/ResourceUrl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class ResourceUrl {
3232
public static final String STATIC_RESOURCES_URL = "https://stamps.filezz.ru";
3333

3434
// MUST be updated when any of our resources were modified
35-
public static final String RESOURCES_VERSION = "v0.4.3.5";
35+
public static final String RESOURCES_VERSION = "v0.4.3.6";
3636

3737
// CheckStyle: ignore LineLength for next 15 lines
3838
private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/CatalogUtils.min.js";

0 commit comments

Comments
 (0)