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
Post a Comment