Mayank

Results 238 comments of Mayank

I think I agree with both Zade and Matthew here. I also like the `actions.like(/* optional pathname */)` suggestion (works similar to `action={undefined}` submitting to the current page). The big...

I took a brief look at #912 and it feels a tad overcomplicated and restrictive. I don't want to use `zod` or anything, I just want to call a function...

@bholmesdev I appreciate you taking the time to dive deeper into my feedback! I enjoy this kind of nuanced discussion 💜 > Just curious, how do you normally parse FormData...

[`lightningcss`](https://lightningcss.dev/) might be a good library to show how to use css modules with. If not, [`postcss-modules`](https://github.com/madyankin/postcss-modules) is another option (i believe this is what vue uses under-the-hood as well)....

Right, I saw `setBundlerMode` but I don't think it quite solves this problem. Here's what I want: 1. aggregate CSS/JS for component instances - this is useful to prevent duplication...

For more context, I'm making a vite plugin for webc, and I'm currently working around this by [manually adding `webc:keep`](https://github.com/mayank99/vite-plugin-webc/blob/cf8d45fc6426fc5c1477547e67667a3412e015dc/plugin/index.mjs#L34-L39) to all the unrelated scripts and styles on the page...

Ah yeah, `webc:raw` is probably a better fit for this use case. Still a workaround because I need to add it to non-webc related code, but it works 👍

I feel like the updated documentation is still insufficient and misleading. I mentioned [earlier](https://github.com/withastro/docs/issues/7502#issuecomment-2038838034) that the formatter can forcibly insert whitespace against the author's will. I've been able to work...

Yeah it's a `prettier-plugin-astro` issue, but I haven't even installed that directly. I believe it comes bundled with the Astro VSCode extension. I'm not sure what the best way to...