-
Notifications
You must be signed in to change notification settings - Fork 136
Closed
Description
- I've noticed that at the project dashboard page all Feed components are being re-rendered every few seconds.
To reproduce:
- see project http://local.topcoder-dev.com:3000/projects/2871 on the local machine
- and add
console.log('feed render')at therendermethod https://github.com/appirio-tech/connect-app/blob/dev/src/components/Feed/Feed.jsx#L38
And you will see that every few seconds all 29 Feed components on this page will be re-rendered.
This component is quite heavy by itself. Also on this page we use script for sticky sidebar. And after implementing fullscreen mode for channels there will be also one more script to implement date sticking to the header of the during scrolling ilke in Slack http://take.ms/Wyu5w
I didn't make proper tests, but constant re-rendering could affect smoothness of the scrolling scripts.
- Also feeds are being re-rendering during scrolling. And sidebar sticking and scrolling not smoothly for me. Not sure if the Feed re-rendring is cousing sricky sidebar glitches though http://take.ms/Z78ic
