Skip to content

Commit f5231ea

Browse files
updated README
1 parent 8bd7c27 commit f5231ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Write HTML using Swift Macros.
22

3-
## Why Use?
4-
- Swift Macros are powerful and offer performance benefits to alternative libraries relying on runtime performance (middleware, rendering, result builders, etc)
5-
- Alternative libraries may not fit all situations and may restrict how the html is generated or manipulated, or is prone to html errors (by human error or otherwise)
3+
## Why?
4+
- Swift Macros are powerful and offer performance benefits
5+
- Alternative libraries may not fit all situations and may restrict how the html is generated/manipulated, prone to human error, or cost a constant performance overhead (middleware, rendering, result builders, etc)
66
- HTML macros enforce safety, can be used anywhere, and compile directly to strings which are easily manipulated
7-
- The compiled output is valid, minified html
7+
- The compiled output already minified
88
### Examples
99
```swift
1010
let test:String = #html([

0 commit comments

Comments
 (0)