File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ This is a fork of the brilliant
1414[ fast-deep-equal] ( https://github.com/epoberezkin/fast-deep-equal ) with some
1515extra handling for React.
1616
17- ![ benchmark chart] ( https://raw.githubusercontent.com/FormidableLabs/react-fast-compare/master/assets/benchmarking.png ' benchmarking chart ' )
17+ ![ benchmark chart] ( https://raw.githubusercontent.com/FormidableLabs/react-fast-compare/master/assets/benchmarking.png " benchmarking chart " )
1818
1919(Check out the [ benchmarking details] ( #benchmarking-this-library ) .)
2020
@@ -38,10 +38,10 @@ $ npm install react-fast-compare
3838## Usage
3939
4040``` jsx
41- const isEqual = require (' react-fast-compare' );
41+ const isEqual = require (" react-fast-compare" );
4242
4343// general usage
44- console .log (isEqual ({ foo: ' bar' }, { foo: ' bar' })); // true
44+ console .log (isEqual ({ foo: " bar" }, { foo: " bar" })); // true
4545
4646// React.memo
4747// only re-render ExpensiveComponent when the props have deeply changed
You can’t perform that action at this time.
0 commit comments