React Js Add Array Python Methods