Hi Abramov,
Since react is a library to handle view, most of the dev choose a separate library(like redux and mobx) for state management.
I am curious to know, following questions
1) How Facebook handle's application state?
a) Are they using any libraries? or
b) Are they simply follow flux pattern without any libraries support?
FB mostly uses just Flux ReduceStore. Which is similar to Redux, but FB tends to use many stores rather than just one. For data fetching, FB mostly uses Relay (Modern where possible). A lot of components also use local state as well.
I wouldn't say any of these patterns are perfect. We're still figuring this out.
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.
Hi Abramov,
Since react is a library to handle view, most of the dev choose a separate library(like redux and mobx) for state management.
I am curious to know, following questions
1) How Facebook handle's application state?
a) Are they using any libraries? or
b) Are they simply follow flux pattern without any libraries support?
Thanks,
Rajsek
FB mostly uses just Flux ReduceStore. Which is similar to Redux, but FB tends to use many stores rather than just one. For data fetching, FB mostly uses Relay (Modern where possible). A lot of components also use local state as well.
I wouldn't say any of these patterns are perfect. We're still figuring this out.