DEV Community

Discussion on: How Pros Automate Repetitive Code using VS Code

Collapse
 
stevereid profile image
Steve Reid • Edited

I use vscode every day and snippets are a great timesaver. However we also use redux in our tech stack and haven’t used that redux connect pattern for nearly 2 years. I’d be surprised if anyone is still using it today.

Collapse
 
ruppysuppy profile image
Tapajyoti Bose

Then how do you share the redux store data with the components?

Collapse
 
stevereid profile image
Steve Reid

Here you go, straight from the horse’s mouth.
twitter.com/acemarke/status/143339...

Thread Thread
 
ruppysuppy profile image
Tapajyoti Bose

That's using redux toolkit (createSlice isn't available with plain old redux). But thanks for your input. It led me to coming across the useSelector and useDispatch, which does look like the future of react-redux to me