flux icon indicating copy to clipboard operation
flux copied to clipboard

[Question] Getting initial state into a store?

Open mcoetzee opened this issue 11 years ago • 2 comments

Hi there,

I have asked a question on Stack Overflow regarding getting initial state into a store: http://stackoverflow.com/questions/28958290/react-flux-getting-initial-state-into-a-store

I would appreciate any input (even though I'm using Reflux).

mcoetzee avatar Mar 11 '15 08:03 mcoetzee

I typically initialize the stores by dispatching an INITIAL_LOAD action prior to rendering.

By the way, the best way to my attention on Stack Overflow is to tag your question with one of these: reactjs-flux react-flux flux-react fluxjs

I use the Question Monitor for Stack Exchange (aka "StackTrack") Chrome extension to monitor those tags.

fisherwebdev avatar Mar 29 '15 14:03 fisherwebdev

Thanks for you input @fisherwebdev - an initial load sounds like the best approach. With regards to the Stack Overflow tags - noted :)

mcoetzee avatar Apr 07 '15 13:04 mcoetzee