Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Update EventTile to use WithMatrixClient instead of MatrixClientPeg #552

Merged
merged 2 commits into from
Nov 15, 2016

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Nov 14, 2016

No description provided.

@richvdh
Copy link
Member Author

richvdh commented Nov 14, 2016

@dbkr: wdyt about this? Switching from MatrixClientPeg to the React context is the approach we agreed to, but is adding a layer of wrapping around every EventTile going to add further to memory/CPU usage woes?

Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

Good question. As goes my current understanding, I'm going to say it won't because I think the overhead is creating the actual DOM elements rather than virtual DOM elements.

Test failures look suspicious though.

@dbkr dbkr assigned richvdh and unassigned dbkr Nov 14, 2016
Now that EventTile expects MatrixClient in the context, we had better provide
it.
@richvdh
Copy link
Member Author

richvdh commented Nov 14, 2016

Indeed they did. PTAL.

@richvdh richvdh assigned dbkr and unassigned richvdh Nov 14, 2016
@dbkr dbkr merged commit ec999f6 into develop Nov 15, 2016
@richvdh richvdh deleted the rav/event_tile_withmatrixclient branch January 23, 2017 10:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants