Anti patterns of RefCell

32 points ArtisticHamster

It looks to me that interior mutability is a thing you should use carefully and only in the cases where it's really needed. Could anyone point me to good examples of replacing Rc<RefCell or just RefCell with better code? I.e. PRs, articles, projects which implement non trivial things without it.