Perf: switch to stable react keys (#1113)
This commit is contained in:
parent
d53cbb91bb
commit
89fc975a15
4 changed files with 12 additions and 21 deletions
|
@ -28,10 +28,10 @@ export class PostsFeedItemModel {
|
|||
|
||||
constructor(
|
||||
public rootStore: RootStoreModel,
|
||||
reactKey: string,
|
||||
_reactKey: string,
|
||||
v: FeedViewPost,
|
||||
) {
|
||||
this._reactKey = reactKey
|
||||
this._reactKey = _reactKey
|
||||
this.post = v.post
|
||||
if (FeedPost.isRecord(this.post.record)) {
|
||||
const valid = FeedPost.validateRecord(this.post.record)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue