You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
We just upgraded from 5.4.4 to 6.1.8 and I checked the changelogs to see if we have to adapt something.
We're still using Inject, planning on refactoring this for the new recommended way.
Question:
On the Changelog for 6.0.0 there is a mention of Using PureComponent is now recommended for class-based components or React.memo for functional ones..
Does this mean, that if I have a observer Class Based Component SearchIconBase extends React.Component<Props>inject("rootStore")(observer(SearchIconBase)), that we should switch to extends React.PureComponent<Props>?
Hey there,
We just upgraded from 5.4.4 to 6.1.8 and I checked the changelogs to see if we have to adapt something.
We're still using Inject, planning on refactoring this for the new recommended way.
Question:
On the Changelog for 6.0.0 there is a mention of
Using PureComponent is now recommended for class-based components or React.memo for functional ones..Does this mean, that if I have a observer Class Based Component
SearchIconBase extends React.Component<Props>inject("rootStore")(observer(SearchIconBase)), that we should switch toextends React.PureComponent<Props>?