VOOZH about

URL: https://www.nuget.org/packages/Feliz.UseDeferred/

⇱ NuGet Gallery | Feliz.UseDeferred 3.1.0




👁 Image
Feliz.UseDeferred 3.1.0

dotnet add package Feliz.UseDeferred --version 3.1.0
 
 
NuGet\Install-Package Feliz.UseDeferred -Version 3.1.0
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Feliz.UseDeferred" Version="3.1.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Feliz.UseDeferred" Version="3.1.0" />
 
Directory.Packages.props
<PackageReference Include="Feliz.UseDeferred" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Feliz.UseDeferred --version 3.1.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Feliz.UseDeferred, 3.1.0"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Feliz.UseDeferred@3.1.0
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Feliz.UseDeferred&version=3.1.0
 
Install as a Cake Addin
#tool nuget:?package=Feliz.UseDeferred&version=3.1.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Feliz 👁 Nuget

A fresh retake of the React API in Fable, optimized for happiness.

Here is how it looks like:

module App

open Feliz

[<ReactComponent>]
let Counter() =
 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
 ]

open Browser.Dom

let root = ReactDOM.createRoot (document.getElementById "root")
root.render (Counter())

✨ Features

  • Flexible API design: Combine the reliability of F# type safety with the flexibility to interop easily with native JavaScript.
  • Discoverable attributes with no more functions, Html attributes or CSS properties globally available so they are easy to find.
  • Proper documentation: each attribute and CSS property
  • Full React API support: Feliz aims to support the React API for building components using hooks, context and more.
  • Fully Type-safe: no more Margin of obj but instead utilizing a plethora of overloaded functions to account for the overloaded nature of CSS attributes, covering 90%+ of the CSS styles, values and properties.
  • Compatible with Femto.
  • Approximately Zero bundle size increase where everything function body is erased from the generated JavaScript unless you actually use said function.

⚡Combine with Elmish "model-view-update" architecture

Feliz offers a React.useElmish hook to seamlessly integrate Elmish state machines with React components. You can use it by referencing the Feliz.UseElmish package.

You can read more on this topic in the documentation.

module App

open Fable.Core
open Feliz
open Feliz.UseElmish
open Elmish

type Msg =
 | Increment
 | Decrement

type State = { Count : int }

let init() = { Count = 0 }, Cmd.none

let update msg state =
 match msg with
 | Increment -> { state with Count = state.Count + 1 }, Cmd.none
 | Decrement -> { state with Count = state.Count - 1 }, Cmd.none

[<Erase; Mangle(false)>]
type Main =

 [<ReactComponent(true)>]
 static member Main() =
 
 let state, dispatch = React.useElmish(init, update, [| |])
 Html.div [
 Html.h1 state.Count
 Html.button [
 prop.text "Increment"
 prop.onClick (fun _ -> dispatch Increment)
 ]

 Html.button [
 prop.text "Decrement"
 prop.onClick (fun _ -> dispatch Decrement)
 ]
 ]

🚀 Quick Start

# install the template (if you haven't already)
dotnet new -i Feliz.Template
# create a new Feliz project from the installed template
dotnet new feliz -n MyProject
# navigate to the created project folder
cd MyProject
# install the npm dependencies
npm install
# install .NET tools
dotnet tool restore
# start the development server
npm start

📚 Documentation

Explore the full docs at https://fable-hub.github.io/Feliz/ — packed with live examples and practical guidance. Highlights:

If anything’s unclear or you’re missing an example, please open an issue or discussion — contributions are very welcome!

⌚ Changelog

Each project in Feliz has its own changelog file in the src folder. Check them out for the latest changes!

Here is a direct link to the .

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Feliz.UseDeferred:

Package Downloads
WebSharper.Feliz.UseDeferred

WebSharper Proxy for Feliz.UseDeferred

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.0 222 3/20/2026
3.0.0 542 12/10/2025
3.0.0-rc.2 392 11/18/2025
3.0.0-rc.1 188 10/2/2025
2.0.0 62,089 12/25/2022
1.5.0 12,362 12/25/2022
1.4.1 43,319 2/21/2021
1.4.0 18,134 11/15/2020
1.3.0 1,214 8/16/2020
1.2.0 667 8/8/2020
1.1.1 1,894 7/1/2020
1.1.0 735 5/20/2020
1.0.0 738 5/18/2020

### 🔄 Changed

- Bump `Feliz` version to support `Fable.AST` to `5.0.0-rc.3` (by @MangelMaxime)