fix: remove Channel component propagation#2904
Conversation
|
Size Change: 0 B Total Size: 316 kB ℹ️ View Unchanged
|
oliverlaz
left a comment
There was a problem hiding this comment.
Good to adjust the docs too
Yes, that's the next step as discussed earlier. :) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2904 +/- ##
==========================================
- Coverage 80.05% 79.97% -0.08%
==========================================
Files 511 511
Lines 10803 10802 -1
Branches 2711 2711
==========================================
- Hits 8648 8639 -9
- Misses 1902 1910 +8
Partials 253 253 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| <ChatView.Selector /> | ||
| <ChatView.Channels> | ||
| <ChannelList | ||
| Avatar={ChannelAvatar} |
There was a problem hiding this comment.
@arnautov-anton don't we want to apply the same logic to ChannelList? I mean to not to allow passing Components as props and force the use of WithComponents.
There was a problem hiding this comment.
Good point, I can adjust the PR to include .ChannelList too
Edit: I'll open up separate PR to include renames to the ChannelList-related components.
0387026 to
9f8b99d
Compare
8a04000 to
79568f3
Compare
79568f3 to
4dc6419
Compare
🎯 Goal
Use the capabilities of
WithComponentsto propagate component overrides, do not useChannelas a proxy.BREAKING CHANGE:
Channelcomponent no longer supports component overrides, useWithComponentsinstead.