firestore-adding-systems
2ch作ってて追加できなくなって詰まったからシンプルに整理してみる
https://medium.com/get-it-working/get-googles-firestore-working-with-react-c78f198d2364
これを参考にする
そもそも必要なのはfirestoreのWriting Tableのref
userの入力を取得するinput
inputの入力を入れておくstate
userの送信を引き起こすsubmit btn
これだけの筈だ。
なのでcodeはまず
firebaseのconfigをとる
WritingsのTableのrefを変数に入れる