Skip to content

Commit 8934efb

Browse files
committed
Note the mapRef and containerRef don't need to be memoized
1 parent b5c2ff3 commit 8934efb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Link tag in header:
3939
## Props
4040
Only `mapRef` and `mapboxApiAccessToken` are required.
4141

42-
All non-primitive prop values should be memoized.
42+
All non-primitive prop values besides `mapRef` and `containerRef` should be memoized.
4343

4444
| Name | Type | Default | Description |
4545
|--- | --- | --- | --- |

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-map-gl-geocoder",
3-
"version": "2.1.4",
3+
"version": "2.1.5",
44
"description": "React wrapper for mapbox-gl-geocoder for use with react-map-gl",
55
"source": "src/index.js",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)