ubmit
ubmit
Explore posts from servers
TTCTheo's Typesafe Cult
Created by ubmit on 5/15/2023 in #questions
How can I get the input field values from formData (using Next form action)
I realized my mistake 🫠 I had to set the name attribute on each input to be able to get their values from formData!
3 replies
TTCTheo's Typesafe Cult
Created by ubmit on 2/7/2023 in #questions
Not being able to render my React app
forgot to close the thread though 😬
4 replies
TTCTheo's Typesafe Cult
Created by ubmit on 2/7/2023 in #questions
Not being able to render my React app
thanks for checking! @kapobajza I ended up using esbuild instead of babel, since the problem was that I just transforming JSX into JS but not bundling it
4 replies
TTCTheo's Typesafe Cult
Created by ubmit on 9/24/2022 in #questions
How could I improve this code?
it was a challenge I've sent already so I had no way to change the structure of the objects, but I kept thinking how I could improve the code
12 replies
TTCTheo's Typesafe Cult
Created by ubmit on 9/24/2022 in #questions
How could I improve this code?
const [firstScore, secondScore] = result.split("-").map((value) => parseInt(value)); that's a nice way to parse it 👌
12 replies
TTCTheo's Typesafe Cult
Created by ubmit on 9/24/2022 in #questions
How could I improve this code?
thanks a lot for looking into it! that's definitely better! thanks 🙏
12 replies
TTCTheo's Typesafe Cult
Created by ubmit on 9/24/2022 in #questions
How could I improve this code?
thanks a lot for taking time to look into it @matee 🙏 , unfortunately the result has to be a string like "5-1" though
12 replies