1.4.2 • Published 5 years ago

@prisma-cms/performance v1.4.2

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

Prisma-CMS Performance

Performance testing component for @prisma-cms and any other React components.

Install

yarn

yarn add -D @prisma-cms/performance

npm

npm i @prisma-cms/performance --save-dev

Usage

Pass any props for updating check

import React, { Component } from 'react';
import PrismaCmsPerformanceTester from "@prisma-cms/performance";

export default class Test extends Component {

  render(){

    return <PrismaCmsPerformanceTester 
      props={this.props}
      state={this.state}
      context={this.context}
    />
  }

}

See the browser console to detect which properties change when the Test component is updated.