embiem / react-canvas-draw

React Component for drawing in canvas
https://embiem.github.io/react-canvas-draw/
MIT License
892 stars 315 forks source link

HideGrid not toggling on and off according to state #89

Open Qhristen opened 4 years ago

Qhristen commented 4 years ago

Hi, I just started using react canvas draw for a project and I need to implement show or hide grid feature, but when I use the state to change from true to false it doesn't render immediately except I close the component and open it before I could see the change and sometimes it doesn't even change and everything looks good in my console