FormidableLabs / react-game-kit

Component library for making games with React & React Native
http://reactnext.surge.sh
MIT License
4.62k stars 309 forks source link

tilemap not updating when passed new array props #66

Open ashmortar opened 6 years ago

ashmortar commented 6 years ago

Hi! This is an awesome package and we are using it to build a fun little 2d game. It involves a fog of war for the player and are trying to render it as a tileMap over the regular background tileMap that is updated as the logic grid changes. However, passing the tilemap a new array doesn't trigger a re-render!