react global variable - use case scenario - global user name



In react native, using global variables is simply declaring your variable as follows :-

global.myVariableName = 'something'

That's it! :)

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm