Same as the previous diff, basically. We should've had this in a React context... basically wanted server code to know what the user agent was while doing SSR. Now we don't do SSR, and we can just call detectBrowser() without needing to pass anything in.
Details
Details
Flow
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- ashoat/webssr
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
web/chat/chat-message-list.react.js | ||
---|---|---|
280–287 ↗ | (On Diff #19999) | Can we compute this outside the component and avoid using memo? |
Comment Actions
No point using props
web/chat/chat-message-list.react.js | ||
---|---|---|
280–287 ↗ | (On Diff #19999) | Good call |