This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Profile = { | |
id: number; | |
name: string; | |
foo: string; | |
bar: string; | |
}; | |
const fetchProfile = () => { | |
return fetch("/profile").then<Profile>((res) => res.json()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Web Storage | |
--- | |
# local Storage | |
## 概要 | |
- key-value型 | |
- 単純なデータ保存 |