🔄 Durable Object Persistence Demo
Current Persisted Values:
Counter (number):
4000000000
User Data (object):
{ "name": "unbelievables", "email": "jan@wilmake.com" }
Items (string[]):
["apple", "cloud", "banana", "mango", "ananaswqerwqerqwerwqer"]
Counter (Number):
Set the counter value directly
User Name (String):
User Email (String):
Items (String Array):
apple, cloud, banana, mango, ananaswqerwqerqwerwqer
Separate items with commas
💾 Update Values
âž• Increment Counter
How it works:
All form changes are automatically persisted using the
@Persisted()
decorator
Values survive Durable Object restarts and cold starts
Data is stored in SQL storage within the Durable Object
Refresh the page to see that values persist!