Miss any of our Open RFC calls?Watch the recordings here! »

@prisma-cms/performance

1.4.2 • Public • Published

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.

Install

npm i @prisma-cms/performance

DownloadsWeekly Downloads

2

Version

1.4.2

License

ISC

Unpacked Size

82.7 kB

Total Files

51

Last publish

Collaborators

  • avatar