Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flux without React

I'm in a project and my task is to build drop-down lists that lets user say his location without free text. I came to a point where I think that Flux is a really good way to built it, but I do not want to use React because of the dependencies issues. I would like to know if it is possible to build a flux app without React? And if it make sense?

Thank you!

like image 279
Leonardo Coelho Avatar asked Apr 29 '26 18:04

Leonardo Coelho


1 Answers

Yes, you can use Flux without React since it really is just a data-flow architecture. Pretty much everything will be exactly the same -- except you won't be using React components. You would add a changeListener to the store, passing it a callback function to use when it processes an action.

I'm surprised, though, that you're concerned about using React due to dependency issues. What issues are those?

like image 155
Hal Helms Avatar answered May 01 '26 09:05

Hal Helms



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!