mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 11:52:00 +00:00
Updated react-lifecycles-compat example to show 2.0 named export
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
// highlight-next-line
|
||||
import polyfill from 'react-lifecycles-compat';
|
||||
import {polyfill} from 'react-lifecycles-compat';
|
||||
|
||||
class ExampleComponent extends React.Component {
|
||||
// highlight-next-line
|
||||
|
||||
Reference in New Issue
Block a user