Skip to content

Commit eb13c03

Browse files
author
Maxime Mangel
committed
Fix typos in doc comment of memoBuilderWith and memoBuilder
1 parent cafde46 commit eb13c03

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,8 @@ module ReactElementType =
936936
/// ```
937937
/// type HelloProps = { Name: string }
938938
/// let hello = memoBuilder "Hello" (fun p ->
939-
/// span [str "Hello "; str p.Name])
939+
/// span [ ]
940+
/// [ str "Hello "; str p.Name ])
940941
///
941942
/// let view model =
942943
/// hello { Name = model.Name }
@@ -960,7 +961,8 @@ let memoBuilder<'props> (name: string) (render: 'props -> ReactElement) : 'props
960961
/// type HelloProps = { Name: string }
961962
/// let helloEquals p1 p2 = p1.Name = p2.Name
962963
/// let hello = memoBuilderWith "Hello" helloEquals (fun p ->
963-
/// span [str "Hello "; str p.Name])
964+
/// span [ ]
965+
/// [ str "Hello "; str p.Name ])
964966
///
965967
/// let view model =
966968
/// hello { Name = model.Name }

src/Fable.React/Fable.React.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<Version>5.0.0</Version>
5-
<PackageVersion>5.0.0-alpha-001</PackageVersion>
5+
<PackageVersion>5.0.0-alpha-002</PackageVersion>
66
<TargetFrameworks>netstandard2.0</TargetFrameworks>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
</PropertyGroup>

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+
### 5.0.0-alpha-002
2+
3+
* Fix typos in doc comment of `memoBuilderWith` and `memoBuilder`
4+
15
### 5.0.0-alpha-001
26

37
* Add bindings for `React.memo`

0 commit comments

Comments
 (0)