Skip to content

Commit

Permalink
Merge branch 'release/1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
vankeisb committed Oct 1, 2020
2 parents 8466651 + bae3434 commit 80e02fe
Show file tree
Hide file tree
Showing 6 changed files with 237 additions and 354 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

## v1.1.0 (01/10/2020)

- [**closed**] Do not rely on state in Program [#25](https://github.com/vankeisb/react-tea-cup/pull/25)
- [**closed**] fix #26 : use componentWillUnmount instead of componentWillMount [#28](https://github.com/vankeisb/react-tea-cup/pull/28)
- [**closed**] dispatch initial cmd on mount [#23](https://github.com/vankeisb/react-tea-cup/pull/23)

2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tea-cup-core",
"version": "1.1.0",
"version": "1.1.1",
"description": "react-tea-cup core classes and utilities (Maybe etc)",
"author": "Rémi Van Keisbelck <[email protected]>",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"jest-enzyme": "^7.1.1",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-scripts": "3.4.1",
"react-tea-cup": "1.1.0"
"react-scripts": "3.4.3",
"react-tea-cup": "1.1.1"
},
"scripts": {
"start": "react-scripts start",
Expand Down
4 changes: 2 additions & 2 deletions tea-cup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-tea-cup",
"version": "1.1.0",
"version": "1.1.1",
"description": "Put some TEA in your React.",
"author": "Rémi Van Keisbelck <[email protected]>",
"license": "MIT",
Expand All @@ -19,7 +19,7 @@
"samples": "tsc --outFile ./dist/Samples/index.js && cp ./src/Samples/index.html ./dist/Samples"
},
"dependencies": {
"tea-cup-core": "1.1.0",
"tea-cup-core": "1.1.1",
"react": "^16.7.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tea-cup/src/TeaCup/Program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class Program<Model, Msg> extends Component<ProgramProps<Model, Msg>, nev
private count: number = 0;
private readonly initialCmd: Cmd<any>;
private currentModel: Model;
private currentSub: Sub<Msg>
private currentSub: Sub<Msg>;

constructor(props: Readonly<ProgramProps<Model, Msg>>) {
super(props);
Expand Down
Loading

0 comments on commit 80e02fe

Please sign in to comment.