TurnipSwagger
TTCTheo's Typesafe Cult
•Created by K1|ller on 4/15/2024 in #questions
this works but nope?
Suspense doesn't do anything if the child component is not suspended. That is why you get the message about forgetting await. You can add await, but there is no promise to await, so there is nothing that is suspended.
setEmail should be a promise that takes some time to complete, otherwise there is no use in using suspense.
3 replies
TTCTheo's Typesafe Cult
•Created by KO on 4/16/2024 in #questions
"Weird" characters are visible in VSCode Git Bash terminal output (like this: `←[90m` )
When I was using Windows, I always installed a console emulator (e..g ConEmu). It adds a lot of useful features to Git Bash. I would not be surprised if it can handle ANSI colors.
An alternative is using zsh instead of bash (https://gist.github.com/fworks/af4c896c9de47d827d4caa6fd7154b6b)
11 replies