1.0.11 • Published 5 years ago

react-plugin-utils v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

主要特性

  • 项目优雅的错误处理,利用浏览器全局的错误处理,React 16 的错误边界和原生的try...Catch
  • 网络Network 监控,实时监控所有的数据网络请求,分析项目性能

开始使用

安装

执行命令:npm install react-plugin-utils

包裹组件

import React from 'react'
import {ErrorBoundary} from 'react-plugin-utils'

class XX extends React.Component{
    render(){
        return (
            <ErrorBoundary> {被包裹的组件}  </ErrorBoundary>
        )
    }
}

End

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago