How to apply canvas filters with react and konva?

获取Konva最新的信息

To apply filters you need to cache Konva.Node manually. You can do it componentDidMount.
Probably you will need to recache nodes every time you update their styles in componentDidUpdate or React.useEffect.

Instructions: click on the rectangle to see changes

Next