Skip to content

Commit ec718a3

Browse files
committed
Updated react-lifecycles-compat example to show 2.0 named export
1 parent 17efddc commit ec718a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/update-on-async-rendering/using-react-lifecycles-compat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
// highlight-next-line
3-
import polyfill from 'react-lifecycles-compat';
3+
import {polyfill} from 'react-lifecycles-compat';
44

55
class ExampleComponent extends React.Component {
66
// highlight-next-line

0 commit comments

Comments
 (0)