To make your TypeScript server auto-restart for things like codegen'd files, add this to your .𝚟𝚜𝚌𝚘𝚍𝚎/𝚜𝚎𝚝𝚝𝚒𝚗𝚐𝚜.𝚓𝚜𝚘𝚗 and thank me later:
"𝚝𝚢𝚙𝚎𝚜𝚌𝚛𝚒𝚙𝚝.𝚝𝚜𝚜𝚎𝚛𝚟𝚎𝚛.𝚠𝚊𝚝𝚌𝚑𝙾𝚙𝚝𝚒𝚘𝚗𝚜": {
"𝚠𝚊𝚝𝚌𝚑𝙳𝚒𝚛𝚎𝚌𝚝𝚘𝚛𝚢": "𝚞𝚜𝚎𝙵𝚜𝙴𝚟𝚎𝚗𝚝𝚜",
"𝚏𝚊𝚕𝚕𝚋𝚊𝚌𝚔𝙿𝚘𝚕𝚕𝚒𝚗𝚐": "𝚍𝚢𝚗𝚊𝚖𝚒𝚌𝙿𝚛𝚒𝚘𝚛𝚒𝚝𝚢𝙿𝚘𝚕𝚕𝚒𝚗𝚐",
"𝚠𝚊𝚝𝚌𝚑𝙵𝚒𝚕𝚎": "𝚞𝚜𝚎𝙵𝚜𝙴𝚟𝚎𝚗𝚝𝚜𝙾𝚗𝙿𝚊𝚛𝚎𝚗𝚝𝙳𝚒𝚛𝚎𝚌𝚝𝚘𝚛𝚢",
"𝚜𝚢𝚗𝚌𝚑𝚛𝚘𝚗𝚘𝚞𝚜𝚆𝚊𝚝𝚌𝚑𝙳𝚒𝚛𝚎𝚌𝚝𝚘𝚛𝚢": 𝚝𝚛𝚞𝚎
},
You probably never heard of `ws4qlite` before.
It turns SQLite into an HTTP server and gives you a RESTful API to interact with your database. It comes with auth + backups and much more out of the box.
I wrote a guide for it:
https://t.co/3QRsgiD8a6
I review a LOT of React code every day. Half my job is repeatedly saying two things:
1. "This state isn't necessary. The values can be derived from other state/props."
2. "This useEffect isn't necessary. The values can be derived on each render instead."