Skip to content

Include pure-render-decorator #141

Closed
@justin808

Description

@justin808

If we're using Immutable.js, we should use the pure-render mixin. However, we're about to change to ES6 classes, so this seems to fit the bill.

import {Component} from 'react';
import pureRender from 'pure-render-decorator';

@pureRender
class Test extends Component {
  render() {
    return <div></div>;
  }
}

CC: @alexfedoseev @rstudner @robwise

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions