how to get the length of keys in state reactjs code example
Example: react native length of object
var myObject = {'key':'something', 'other-key':'something else','another-key': 'another thing'}
var count = Object.keys(myObject).length;
var myObject = {'key':'something', 'other-key':'something else','another-key': 'another thing'}
var count = Object.keys(myObject).length;