Building and customizing solutions using Microsoft 365 Copilot APIs and tools
CoPilot has issues helping with REACT Code
Most of the time when CoPilot answers with JSX (REACT) code, it ends with Content couldn't be displayed. Sorry, something went wrong. Please try again. With a purple/pink/orange exclamation mark superimposed over a 3D triangle. It will for a moment show the code, then see image below. This started happening week and 1/2 ago. In the past this happened once in a blue moon, now it happens continuously. You can somewhat get around it by having CoPilot put Z in the front of every JSX line. I ask for that and to send the code as well. Then I can review the code and if I want it, I use the "Copy Code" option from the 3 ellipses and most of the time I get all of the code, sometimes the renderer eats part of it and I battle with syntax errors from CoPilot. Since its going on past the 2nd week and still no fix or option to roll back an update, I thought to ask how to get around it? I am a Premium user and about ready to jump ship as it is not useful for help with SWA apps as they are REACT. This happens in the app and in the browser. It only happens with REACT though CoPilot claims it could happen with HTML as well. CSS, C#, PowerShell, Python help all work fine.