Skip to content

Commit 61b0229

Browse files
author
Nora Tarano
committed
Version 4.0.1
1 parent a251fcd commit 61b0229

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v4.0.1
2+
- [fix] Use a WeakMap cache instead of a Map cache to prevent high memory usage (with fallback to Map) (@noratarano, [#230](https: //github.com/airbnb/react-with-styles/pull/230))
3+
14
## v4.0.0
25
- [breaking] Add @babel/runtime as a peer dependency (because of our dependency on babel-preset-airbnb) (@noratarano, [#229](https://github.com/airbnb/react-with-styles/pull/229))
36
- [new] Introduce the `useStyles` hook, which is still experimental. Use if you do not require performance optimizations for themed styles per component. (@noratarano, [#225](https://github.com/airbnb/react-with-styles/pull/225), [#221](https://github.com/airbnb/react-with-styles/pull/221))

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-with-styles",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "",
55
"main": "lib/withStyles.js",
66
"directories": {

0 commit comments

Comments
 (0)