Where to Hold React Component Data: state, store, static, and this
Sam Corcos
2.3K19

Nice article. Not to nitpick but I believe what you call a global variable is actually less global than the other methods since you don’t export it. ;-) (Not that I advocate using module-global variables.)

Like what you read? Give Graham Realyze a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.