Hydration Demo

Test 1: Basic types

Counter Component Test

== Integers ==

Inidtial: 42

Negative: -42

Zero: 0

== Floats ==

Float: 3.14

Negative Float: -2.5

== Booleans ==

Shared: true

Disabled: false

== Strings ==

Label: Counter

Escaped: Hello World

== Optionals ==

Optional Int: null

Optional Str: null

== Nested Struct ==

Nested Value: 123

Nested Flag: true

== Array ==

Scores: 10, 20, 30

== Enum ==

Status: 1


Signal: 42
Shared: 0

Test 2: Negative

Counter Component Test

== Integers ==

Inidtial: -100

Negative: -999

Zero: 0

== Floats ==

Float: 3.14

Negative Float: -2.5

== Booleans ==

Shared: false

Disabled: false

== Strings ==

Label: Counter

Escaped: Hello World

== Optionals ==

Optional Int: null

Optional Str: null

== Nested Struct ==

Nested Value: 123

Nested Flag: true

== Array ==

Scores: 10, 20, 30

== Enum ==

Status: 1


Signal: -100
Shared: 0

Test 3: Floats

Counter Component Test

== Integers ==

Inidtial: 0

Negative: -42

Zero: 0

== Floats ==

Float: 3.14

Negative Float: -2.5

== Booleans ==

Shared: true

Disabled: false

== Strings ==

Label: Counter

Escaped: Hello World

== Optionals ==

Optional Int: null

Optional Str: null

== Nested Struct ==

Nested Value: 123

Nested Flag: true

== Array ==

Scores: 10, 20, 30

== Enum ==

Status: 1


Signal: 0
Shared: 0

Test 4: Strings

Counter Component Test

== Integers ==

Inidtial: 1

Negative: -42

Zero: 0

== Floats ==

Float: 3.14

Negative Float: -2.5

== Booleans ==

Shared: false

Disabled: false

== Strings ==

Label: Hello World

Escaped: Line1 Line2

== Optionals ==

Optional Int: null

Optional Str: null

== Nested Struct ==

Nested Value: 123

Nested Flag: true

== Array ==

Scores: 10, 20, 30

== Enum ==

Status: 1


Signal: 1
Shared: 0