Update frontmatter data

This commit is contained in:
Angelos Chalaris
2023-04-28 22:19:13 +03:00
parent 6d5cd56327
commit 7efb072407
78 changed files with 234 additions and 204 deletions

View File

@ -1,9 +1,10 @@
---
title: React useDefault hook
tags: hooks,state
type: snippet
tags: [hooks,state]
author: chalarangelo
cover: flower-portrait-8
firstSeen: 2021-10-23T05:00:00-04:00
dateModified: 2021-10-23T05:00:00-04:00
---
Creates a stateful value with a default fallback if it's `null` or `undefined`, and a function to update it.