javascript - Best pattern to rerender my react component? -



javascript - Best pattern to rerender my react component? -

i have global data object update , phone call react.rendercomponent() 1 time again on top/main component.

is right pattern triggering update? i'm bit lost. thanks!

this right pattern. react.rendercomponent either mount component first time, or mounted component update.

if you're using global object though, might want in flux architecture here:

http://facebook.github.io/flux/docs/overview.html

javascript reactjs

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -