Releases: chhsiao1981/use-thunk
Releases · chhsiao1981/use-thunk
5.2.0
Breaking Changes
Starting from 5.2.0:
- There is no need to specify
[reducer].default. - There is no side effect whether or not putting reducer functions to the dependency of
useEffect.
What's Changed
- add Nathan Buchar's copyright in src/thunk-reducer.ts by @chhsiao1981 in #78
- update README.md by @chhsiao1981 in #79
- update codecov to v5 by @chhsiao1981 in #80
- setup codecov as verbose by @chhsiao1981 in #81
- reducer.default is optional. by @chhsiao1981 in #82
- add docs/00-introduction.md by @chhsiao1981 in #84
- update 00-introduction.md by @chhsiao1981 in #86
- dispatch functions as singleton for each reducer. by @chhsiao1981 in #87
- type definition by @chhsiao1981 in #88
Full Changelog: 5.1.2...5.2.0
5.1.2
What's Changed
- react version compatible to 18.3.1 react version compatible to >= 18.3.1 by @chhsiao1981 in #76
Full Changelog: 5.1.1...5.1.2
5.1.1
5.1.0
What's Changed
- filter variables with function type. by @chhsiao1981 in #72
- Bump vite from 6.1.0 to 6.3.4 by @dependabot[bot] in #71
Full Changelog: 5.0.1...5.1.0
5.0.1
What's Changed
- default main-entry as src/index.ts by @chhsiao1981 in #65
- supports only ts in README.md by @chhsiao1981 in #66
Full Changelog: 5.0.0...5.0.1
5.0.0
[WARN] major revision and breaking changes!
What's Changed
- add biome for formatting / linting by @chhsiao1981 in #63
- add biome.
- fix the types.
- use vite.
- remove babel, webpack, jest.
- add vitest.
- add tseslint. conflicting with biome.
- src/index.ts
- src/thunk-reducer.ts
Full Changelog: 4.0.1...5.0.0
update types in package.json
- update types in package.json
implementing thunkReducer with immediate evaluation.
- implementing thunkReducer with React.useCallback, not React.useReducer.
- better README.md
able to use React.useReducer
- require export myClass.
- require async in Thunk.
- no need myClass and doMe in init.
- addLink is not included in init, no links in init.
lib
Merge pull request #53 from chhsiao1981/release-2.1.4 update version to 2.1.4