Home Reference Source
import PeterTest from 'peter-test/src/PeterTest.jsx'
public class | source

PeterTest

Extends:

react~PureComponent → PeterTest

This is PeterTest

Static Method Summary

Static Public Methods
public static

getDerivedStateFromProps(nextProps: props, prevState: state): *

I don't know what this does

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private

This is the state of the class

Method Summary

Public Methods
public

render(): *

This is the render method

Static Public Methods

public static getDerivedStateFromProps(nextProps: props, prevState: state): * source

I don't know what this does

Params:

NameTypeAttributeDescription
nextProps props
prevState state

Return:

*

Public Constructors

public constructor() source

Private Members

private state: state source

This is the state of the class

Public Methods

public render(): * source

This is the render method

Return:

*

The peter test repreated and in the color