For whatever reason I’m unable to upload jsx files. Literally 10 minutes ago I was perfectly fine and then out of nowhere I can no longer upload them. I’ve tried hard refreshing, clearing cache, using the “All Files” format rather than “Custom Files” but nothing is working. Anyone know what to do??
Hey,
So it’s kind of tricky right now. While jsx files can be read by Gemini models, uploading them isn’t officially supported. But there’s a suggested workaround:
Simply change the file wrapper so the website lets it through.
-
Rename
.jsx→.txt -
Upload
-
Prompt: “This is a React JSX file for [feature name]…”
I found this Chrome extension that does it for you to save some time. Why were you having no issues until now? Not sure…but it’s a known issue.
I hope this helps!
-Ray
1 Like
