我刚刚升级了我们的自定义sharetribe-flex代码(它是一个节点/反应应用程序)
在解决了一些合并冲突后,当启动应用程序时,我会得到:
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 | 我可以做些什么来解决这个问题?
发布于 2019-03-08 22:44:15
将react-final-form-array降级到2.0.1版。2.0.2版本导致了一个崩溃的bug,请看下面的问题:
https://github.com/final-form/react-final-form-arrays/issues/72。
https://stackoverflow.com/questions/55053950
复制相似问题