Skip to content

Perf.start is not a function #15

@bing1021

Description

@bing1021

I install react-addons-perf and expose-loader in my project

here is my webpack config

     {
        test: require.resolve("react-addons-perf"),
        use: [
          {
            loader: 'expose-loader',
            options: 'Perf'
          }
        ]
      }

and i assign Perf to window

but run Perf.start is not a function ,is undefined

Why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions