Skip to content

Using Pure Component #876

@vipulvkp

Description

@vipulvkp

Hello,

I have been using react-rails gem from some of my project and it really worked out well.

Recently, I came across the concept of Pure components in reactjs.
But when I try to make my component pure using the below statement, it does not work

var MyComponent = React.createPureClass

It says createPureClass not a function. What is the way to make pure components with this gem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions