我必须在reactjs中调用WEBAPI的POST方法。但我已经在webapi中创建了模型。所以我想知道如何将模型数据传递给reactjs中的post调用。email { get; set; } public string erole { get; set; }我的WEBAPIPost方法:
//Insert new Em
我正在访问一个reason-react DOM引用,以确定客户端高度。 不幸的是,clientHeight似乎不是ref应用编程接口的一部分。所以这是失败的: ref -> Js.Nullable.toOption React.Ref.clientHeight(this);
}); The value clientHeight can't be found in