[Bug] Generated React/TSX components use function call syntax instead of component syntax causing unnecessary re-renders

Resolved 💬 3 comments Opened Mar 9, 2026 by krishnapauldalvoy Closed Mar 13, 2026

Bug Description
The genrated React/React Native code is not upto par many times even though CLAUDE.md has rules to prevent such things. Example: The generated code for many components was in {func()} format in jsx whereas it should be like <Func /> . This can cause unoptimized code and rerender on every render of parent component which can be easily fixed if JSX/TSX code is generated properly

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.69
  • Feedback ID: d0220bdf-4d88-46f7-a0a0-9d0d47efc10b

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:04:58.223Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:04:58.223Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at async Y (/$bunfs/root/src/entrypoints/cli.js:4167:16475)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:05:00.003Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at async Y (/$bunfs/root/src/entrypoints/cli.js:4167:16475)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:05:00.003Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at async j (/$bunfs/root/src/entrypoints/cli.js:4167:17191)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:05:00.003Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at async j (/$bunfs/root/src/entrypoints/cli.js:4167:17191)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:05:00.003Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at async Y (/$bunfs/root/src/entrypoints/cli.js:4167:16475)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:05:00.037Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at async Y (/$bunfs/root/src/entrypoints/cli.js:4167:16475)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:05:00.037Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at async j (/$bunfs/root/src/entrypoints/cli.js:4167:17191)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:05:00.037Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at CXT (/$bunfs/root/src/entrypoints/cli.js:2283:23981)\n    at async j (/$bunfs/root/src/entrypoints/cli.js:4167:17191)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-09T12:05:00.037Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗