Example the new satisfies and some upcomign "as const" features to generics I'm looking forward to
27 karma · joined March 11, 2015
Example the new satisfies and some upcomign "as const" features to generics I'm looking forward to
Right now only pain-point with npm is that "npm link" can't be forced to install peer dependencies so I'm unable to easily test typesscript built libraries within other projects.
Re-indexes the db and run analyze the table. It gets better for max 30min then PG de-optimizes itself again.
I'm kinda stuck on it, any ideas what can I do to resolve it?
Luckily for backend it's super easy to set up typescript as the default are good enough for weekend projects/prototypes:
``` mkdir my-project cd my-project npm init -f npm i -D typescript ts-node @types/node npx tsc init touch index.ts npx ts-node index.ts ```
Only wish "gap" property would be adopted easier to make working collapsing flex rows way easier.
Even the basic things like :last-child selector is good quality-of-life improvement.
I like how fast you can do stuff, but when when a designer creates something a bit custom it all falls part really quick.
I understand it solve the issue with reusability and style-guides, but for modern apps that would also mean everything should already be react componentized, so you shoudl not really care about css at that point idealy.
I rather use a mix styled-components (easily extendable if you need something custom) and css-variables for dark mode and defining global variables like colors,paddings etc. Plus I route-split so page only has it's related styles.
Also, you can record the screen using Quicktime for years... But noticed as of Catalina it works much better with the high-res screen recording.
But the conectps in redux IMO are worth learning, made me think about my own code different. More pure functions, less sideeffects...
For new project I also prefer mobx-state-tree over redux.
Not perfect but it is ok.