Skip to content

Commit 09bb1f6

Browse files
authored
fixes root mounting and optimizes view functions (#114)
1 parent 5b3f135 commit 09bb1f6

13 files changed

Lines changed: 2551 additions & 262 deletions

.config/dotnet-tools.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"fable": {
6+
"version": "4.29.0",
7+
"commands": [
8+
"fable"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

RELEASE_NOTES.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
## 5.0.1
1+
## 5.5.0-beta-1
2+
* Fixes root element remounting on each loop iteration
3+
* Replaces lazy view function implementations with memo
4+
* Lazy views preserve original view function's name
5+
* Introduces `withKey` function for lazy views to support sibling element differentiation (#14)
26

7+
## 5.0.1
38
* Update to latest Elmish (5.0.2)
49

510
## 5.0.0

build.fsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,19 @@ Target.create "ReleaseDocs" (fun _ ->
122122
failwithf "Failed to publish docs: %d" res
123123
)
124124

125+
Target.create "Test" (fun _ ->
126+
let res = Shell.Exec("npm", "test")
127+
if res <> 0 then failwithf "Tests failed: %d" res
128+
)
129+
125130
Target.create "Publish" ignore
126131

127132
// Build order
128133
"Clean"
129134
==> "Meta"
130135
==> "Restore"
131136
==> "Build"
137+
==> "Test"
132138
==> "Package"
133139
==> "PublishNuget"
134140
==> "Publish"

0 commit comments

Comments
 (0)