Skip to content

Commit

Permalink
Fix typos in README
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrattli committed Jul 7, 2020
1 parent 0f8a15f commit 70849f7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70849f7

Please sign in to comment.