React Js Add Array Python Memory