我刚刚升级了定制的sharetribe-flex代码(其节点/React应用)
解决了一些合并冲突后,启动应用程序时,我会得到:
ReferenceError: FieldArrayProps is not defined
./node_modules/react-final-form-arrays/dist/react-final-form-arrays.es.js
node_modules/react-final-form-arrays/dist/react-final-form-arrays.es.js:294
291 | _defineProperty(FieldArray, "displayName", "ReactFinalFormFieldArray(" + version$1 + ")(" + version + ")");
292 |
293 | polyfill(FieldArray);
> 294 | var decorated = withReactFinalForm < FieldArrayProps > FieldArray;
295 |
296 | //
297 |
我可以做些什么来解决此问题?
降级反应基形式阵列将版本2.0.1降级。版本2.0.2引起了打破错误,请参见下面的问题:
https://github.com/final-form/reeact-fince-form-arays/issues/72。