如何在像 next js 这样的服务器端应用程序中使用 MagicZoom Plus?
刷新页面时看到以下错误:
“警告:预期的服务器 HTML 中包含匹配项。”
const [activeIndex, setActiveIndex] = useState(0);
<div>
<a href={item.src[activeIndex]} className="MagicZoom">
<img src={item.src[activeIndex]} alt="" />
</a>
</div>