JS Files Saving as JSX

Hello,

I’ve been using your platform for several months now, and since yesterday I’ve encountered a critical issue that is causing major problems in my development work.

Whenever I add or modify JS files, they are automatically being saved with the .jsx extension, even though I did not request this and do not need it. These files should be saved with the .js extension instead.

This is very urgent for me, and I would greatly appreciate your guidance on how to resolve this issue as soon as possible.

Thank you very much,

Hey Mattan. Are these files that started out a .jsx generated by v0? Or were they added manually by you?

If you can share the chat ID, I can check the logs for more info about what’s happening

Thanks for getting back to me. The files were originally added manually by me as .js files, not .jsx. However, whenever I edit or update them through the system, they are automatically saved with the .jsx extension.

Here’s the chat ID you requested:

https://v0.app/chat/190825-moodle-local-trustgrade-KLePOxgFfWf

Please let me know if you need any additional details from my side.

Best regards,
Mattan

This change was part of a fix to prevent the agent from generating React files with a .js extension, which would fail when the parser encountered any JSX syntax

But we now have a fix shipping out that should stop this from affecting you so it should be resolved shortly

1 Like

Thank you for clarifying. I understand the reasoning behind the change. I really appreciate that a fix is already on the way, as this issue has been blocking part of my work.

I’ll keep an eye out and confirm once it’s resolved on my end.

Thanks again for the quick support!

Best regards,
Mattan