Seeking optimization tips: big map with trees and rocks

Unfortunately I do not know react, however the creator of r3f is very active on the forum, maybe he could help you (I would like to have an example using r3f in the README of my library).