The new syntax is necessary to support these features with the TypeScript declarations. Even if you are using JavaScript, that means you will get autocomplete in your editor that you could not have before - since the editor will be using TypeScript under the hood to give you that autocomplete.
So these changes are there to give you better developer experience.
I didn't know about it, that would be a big help!
My biggest issue with Redux and its related tools is this kind of changes, so you have to learn both ways to make sure you can handle a simple task.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The new syntax is necessary to support these features with the TypeScript declarations. Even if you are using JavaScript, that means you will get autocomplete in your editor that you could not have before - since the editor will be using TypeScript under the hood to give you that autocomplete.
So these changes are there to give you better developer experience.
I didn't know about it, that would be a big help!
My biggest issue with Redux and its related tools is this kind of changes, so you have to learn both ways to make sure you can handle a simple task.