Michael Carter
Michael Carter
Yeah, they changed the structure to accommodate Tailwind 3.x and 4. I haven't had a chance to play with it. PRs are definitely welcome. I might be able to check...
Hey @Danm72, are you interested in taking over this project? I've got a lot on my plate at the moment and haven't had time to work on some of my...
I'm not sure what you mean. Can you clarify why you would need TypeScript support?
Ah. You're referring to the downloaded React components. They are downloaded as-is which is JavaScript (.jsx). You can rename them to .tsx if you want.
Yes, you don't need Remix to use it. ```ts // api.ts import { serialize } from `remix-typedjson` return Response.json(serialize(payload)) // client.ts import { deserialize } from `remix-typedjson` const response =...
Try: ```ts import { deserialize, type TypedJsonResult } from 'remix-typedjson' const json = await response.json() as TypedJsonResult const payload = deserialize(json) ```
The route ID is the filename relative to app folder without the file extension.
@tomiwaajayi either stop using `defineLoader` or override it to support your requirements. This function is there just to help with types. It's not a requirement.
Hmm.. sorry, can you provide more info? Ideally, a directory listing `tree app/routes` and the output from `npx remix routes`. Thanks!
You may want to consider just using `formidable`. It looks popular and well-maintained. https://github.com/node-formidable/formidable