From 70849f71f2c2567586adb32885fdb27b9cde054c Mon Sep 17 00:00:00 2001 From: Dag Brattli Date: Tue, 7 Jul 2020 08:38:47 +0200 Subject: [PATCH] Fix typos in README --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8c971ca..4f7bb5c 100644 --- a/README.md +++ b/README.md @@ -97,21 +97,21 @@ Projects and examples using Feliz.ViewEngine: ## Porting an Existing Feliz Library to Feliz.ViewEngine -To port an existing `Feliz` library to `Feliz.ViewEngine` you basically need to reimplement everything from the library you want to port. However this is -usually not a lot of work since you can reuse most of the files from the existing library, and you can do the work incrementally and add support for more element and properties as needed. +To port an existing `Feliz` library to `Feliz.ViewEngine` you basically need to reimplement everything from the library +you want to port. However this is usually not a lot of work since you can reuse most of the files from the existing +library, and you can do the work incrementally and add support for more elements and properties as needed. -Start with the file that -generates the HTML elements, comment out the whole file using `(* ... *)` and start enabling element by element. Then port properties, styles, colors, etc. +Start with the file that generates the HTML elements, comment out the whole file using `(* ... *)` and start enabling +element by element. Then port properties, styles, colors, etc. + +The `Feliz.ViewEngine` types are different from `ReactElement`: -The Feliz.ViewEngine types are different from ReactElement: -inter ```fs type IReactProperty = | KeyValue of string * obj | Children of ReactElement list | Text of string - and ReactElement = | Element of string * IReactProperty list | VoidElement of string * IReactProperty list