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

PySpark - Working with JDBC Sqlite database