Skip to content

Commit c4bf6b0

Browse files
authored
Merge pull request #764 from bvaughn/react-lifecycles-compat-v2
Updated react-lifecycles-compat example to show 2.0 named export
2 parents f7cf140 + ec718a3 commit c4bf6b0

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)