Attributes
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Source
- Dsl.scala
- Supertypes
- Known subtypes
-
class ChildNodeclass ChildNodesclass DestroyHookclass EventHandlerclass HtmlAttr[A]class InsertHookclass Keyobject NoOp.typeclass Slotclass Styleclass SvgAttr[A]class ThunkShow all
Attributes
- Source
- Dsl.scala
- Supertypes
- Self type
-
destroyHook.type
Attributes
- Source
- Dsl.scala
- Supertypes
- Self type
-
insertHook.type
Value members
Concrete methods
Attributes
- Source
- Dsl.scala
Produces an increasing sequence of Ids: 1, 2, 3,...
Produces an increasing sequence of Ids: 1, 2, 3,... The advantage over getUUID
is that the IDs are stable across renders provided the order of getId
calls is stable. If global uniqueness is not required, this is better for performance.
Attributes
- Source
- Dsl.scala
Produces the current state.
Produces random UUIDs.
Produces random UUIDs. For uses cases see https://react.dev/reference/react/useId
Attributes
- Source
- Dsl.scala
Constructs a ff4s program from a HTML or SVG string.
Constructs a ff4s program from a HTML or SVG string. This is useful for things like SVG icons. Note that this methods is unsafe in the sense that there is no compile-time validation of the provided string. By default, the generated virtual DOM nodes are cached for performance. If you need to create a very large or even unbounded number of literals, then consider setting cache = false
to avoid memory leaks.
Attributes
- Source
- Dsl.scala
Alias for getId.flatMap(f)
.
Alias for getState.flatMap(f)
.