相关疑难解决方法(0)

React / Reactstrap 警告:在严格模式树中检测到旧上下文 API

这是全新的安装 - 我没有对警报组件进行任何转换

复制代码很简单

import React from "react";
import { Alert } from "reactstrap";

export const Index = () => {
   return (
      <div>
         <Alert color='primary'>This is a primary alert — check it out!</Alert>
      </div>
   );
};

Run Code Online (Sandbox Code Playgroud)

错误消息:请更新以下组件:过渡

在此处输入图片说明

如何一起更新Transition或消除它?

strict reactjs reactstrap

12
推荐指数
2
解决办法
3万
查看次数

标签 统计

reactjs ×1

reactstrap ×1

strict ×1