This repository was archived by the owner on Sep 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 3.0.0] - 2019-02-13
8
+
9
+ ### Changed
10
+ * sets a new peer dependency to be at least React 16.8
11
+ * converts component to functional component and uses the [ ` useCallback `
12
+ hook] ( https://reactjs.org/docs/hooks-reference.html#usecallback ) for the
13
+ ` handleKeyDown ` event memoization
14
+ * wraps the component and forwarded ref higher-order component in
15
+ [ ` React.memo ` ] ( https://reactjs.org/docs/react-api.html#reactmemo )
16
+ * updates example to use [ ` useState ` ] ( https://reactjs.org/docs/hooks-reference.html#usestate )
17
+ and [ ` useCallback ` ] ( https://reactjs.org/docs/hooks-reference.html#usecallback )
18
+ to toggle the button states (text and background color, where applicable)
19
+ * rewrites the tests in
20
+ [ ` react-testing-library ` ] ( https://github.com/kentcdodds/react-testing-library )
21
+ to focus less on internals and more on what an end-user might see (and really
22
+ to try it out, too)
23
+
7
24
## [ 2.0.0] - 2018-12-29
8
25
9
26
### Changed
You can’t perform that action at this time.
0 commit comments