React Js Add Element To Array Python Definition Library