trufflesuite/drizzle-react-legacy

Avoid unnecessary re-renders with the new Context.Consumer approach

chrbongardt opened this issue · 0 comments

Hi all,

I'm quite new to react and drizzle. I've just updated to the latest version of Drizzle and implemented the new Context.Consumer approach but I can't see a way of avoiding re-renders of my app when for my app irrelevant changes to the store happen. I'm still using reduxs connect and sharing the store of drizzle with my app so actually I wouldn't need any Context.Consumer rerenders at all, but I can't find a way to avoid this. Can anyone help me out?