Update frontmatter data
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user