convertir nuber en string react js

var foo = 45;
var bar = '' + foo;
Outstanding Osprey