Updated notes slightly

This commit is contained in:
Benjamin Claassen 2025-01-14 23:19:05 +01:00
parent df9585322f
commit 1fc6a97f40
No known key found for this signature in database
GPG Key ID: C5F495EAE56673BF

View File

@ -27,4 +27,6 @@ You can use `||=` for assigning to an undefined variable (if it's undefined)
Borders are on all grid elements, causing a double border on the edges Borders are on all grid elements, causing a double border on the edges
I'd recommend running Biome.js or ESlint + Prettier to clean up the code I'd recommend running Biome.js or ESlint + Prettier to clean up the code
(if you're using ML you can even make these strict enough about ordering and naming conventions) (if you're using ML you can even make these strict enough about ordering and naming conventions)
When you create an object where the key's and value's name are the same, you can use the shorthand `{ value }` instead of `{ value: value }`