Remix.run Logo
duckmysick 5 hours ago

I'm not that familiar with TypeScript/JavaScript - what would be a proper way of handling complex logic? Switch statements? Decision tables?

5 hours ago | parent | next [-]
[deleted]
catlifeonmars 5 hours ago | parent | prev [-]

Here I think the logic is unnecessarily complex. isQuoted is doing work that is implicit in the token.