this post was submitted on 15 Jun 2023
7 points (100.0% liked)

Rust Programming

8858 readers
1 users here now

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 years ago (2 children)

What's the use of implementing Redux in Rust?

Can that be interopped with tooling like Yew, Sycamore?

https://developerlife.com/2022/03/12/rust-redux/

I thought those tools already provide those features or are they missing a state manager?

[–] [email protected] 1 points 2 years ago (1 children)

@somedev @netwren I wrote an older article about implementing Redux reducers in Rust: https://fiberplane.com/blog/writing-redux-reducers-in-rust

For us, the use case was migrating existing Redux reducers written in TypeScript to Rust for code reuse (and later, performance) reasons. We didn’t need to rebuild Redux itself though, since our Rust reducers could still be invoked from the TypeScript side of things.

[–] [email protected] 1 points 2 years ago

Neat! Thanks for the response!