effector-devtools icon indicating copy to clipboard operation
effector-devtools copied to clipboard

second argument of store.map is deprecated, use updateFilter instead

Open yumauri opened this issue 2 years ago • 0 comments

I'm not sure how to fix this, so doing issue instead of PR.

This code adds second argument to .map calls, causing error

second argument of store.map is deprecated, use updateFilter instead

and more — breaking functionality, because second argument of store.map has other semantic, it is not a place to put meta data here.

https://github.com/fnpen/effector-devtools/blob/95fc918d00ea610890d8467a3a135473856719b1/src/babel-plugin/index.ts#L187-L200

Maybe just remove it?

yumauri avatar Feb 20 '23 14:02 yumauri