A fresh retake of the base React DSL and a collection of high-quality components used to build React...
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
A fresh retake of the base React DSL to build React applications, optimized for happiness.
Here is how it looks like:
let counter = React.functionComponent(fun () -> let (count, setCount) = React.useState(0) Html.div [ Html.button [ prop.style [ style.marginRight 5 ] prop.onClick (fun _ -> setCount(count + 1)) prop.text "Increment" ]
Html.button [ prop.style [ style.marginLeft 5 ] prop.onClick (fun _ -> setCount(count - 1)) prop.text "Decrement" ] Html.h1 count ])
ReactDOM.render(counter, document.getElementById "root")
Htmlattributes or css properties globally available so they are easy to find.
Margin of objbut instead utilizing a plethora of overloaded functions to account for the overloaded nature of
CSSattributes, covering 90%+ of the CSS styles, values and properties.
Htmlcolors in the
Feliz has extensive documentation at https://zaid-ajaj.github.io/Feliz with live examples along side code samples, check them out and if you have any question, let us know!