我正在尝试让一个同构的Node.js,快递,Webpack,反应应用程序工作。我得到了以下错误。对如何修复它有什么建议吗?Warning: React attempted to reuse markup in a container but the checksum was invalid.=edge" data-react-helmet="true" />
<meta charset="utf-8" data-react-helme
我有一个用node.js和react.js构建的应用程序,它是通用的(或者像以前所说的“同构”),并且使用REST API来获取数据。formattedDate = moment(date).fromNow();
<div>{formattedDate}</div>}Warning: Reactattempted to reuse markup in a container but the
checksum was invalid.
我有一个代码来比较来自文件和artifactory的sha-256值,如果校验和不匹配,它会抛出错误。但我想在自己的配方中计算校验和,而不是从artifactory中读取它。(checksum_file) and ::File.read(checksum_file).strip==coordinates['checksum'].strip }
message 'Thepreviously deployed checksum is not aligned
当使用显示时间的React组件的同构呈现时,我偶尔会遇到服务器在点A呈现时间的问题,但是当客户端以SPA的形式出现时,从point A到point B的时间已经更改为点B,并引发React attemptedto reuse markup in a container but the checksum was invalid警告:当您显示更多的粒度时间单位(如秒)时,错误的发生明显更明显,但是很好地确保我不会在分钟