Expected an assignment or function call and instead saw an expression no-unused-expressions
中文翻译为:期望一个赋值或函数调用,却看到一个表达式未使用表达式
我的问题

赋值 错写成了 等式;
Uncaught Invariant Violation: Objects are not valid as a React child (found: [object Promise]). If you meant to render a collection of children, use an array instead.
未捕获的不变冲突:对象不能作为一个React子对象(found: [object Promise])。如果您打算呈现一组子元素,请使用数组。