Skip to content

Commit 1f8583c

Browse files
Bump version to 3.1.1
1 parent 0de90f9 commit 1f8583c

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sdk": {
3+
"version": "2.1.4"
4+
}
5+
}

src/Fable.React/Fable.Helpers.React.fs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,6 @@ module ReactiveComponents =
11191119
}
11201120

11211121
and [<Pojo>] Model<'P, 'S> = {
1122-
key: string
11231122
props: 'P
11241123
state: 'S
11251124
children: ReactElement[]
@@ -1133,8 +1132,7 @@ type ReactiveCom<'P, 'S, 'Msg>(initProps) =
11331132

11341133
override this.render() =
11351134
let model =
1136-
{ key = this.props.key
1137-
props = this.props.props
1135+
{ props = this.props.props
11381136
state = this.state.value
11391137
children = this.children }
11401138
this.props.view model (fun msg ->

src/Fable.React/Fable.React.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<Version>3.1.0</Version>
4+
<Version>3.1.1</Version>
55
<TargetFrameworks>netstandard1.6;netstandard2.0</TargetFrameworks>
66
</PropertyGroup>
77
<ItemGroup>

src/Fable.React/RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 3.1.1
2+
3+
* Remove ReactiveComponents.Model.key as React doesn't allow access to props.key
4+
15
### 3.1.0
26

37
* Speed-up Server-Side rendering @forki

0 commit comments

Comments
 (0)