Task Description
Update the heureka app's TypeScript configuration to use the modern JSX transform (react-jsx) and remove unnecessary React imports, following the pattern established in #1975.
Sub-tasks
Related Issues
Additional Context
This migration enables the modern JSX transform introduced in React 17, which eliminates the need to import React in every file that uses JSX. The transform automatically imports the necessary functions from
react/jsx-runtime. This should be completed before migrating the greenhouse app.
Task Description
Update the heureka app's TypeScript configuration to use the modern JSX transform (
react-jsx) and remove unnecessary React imports, following the pattern established in #1975.Sub-tasks
"jsx": "react"to"jsx": "react-jsx"in heureka tsconfig.jsonimport React from 'react'statements from files that don't explicitly use the React objectuseState,useEffect)pnpm buildto verify builds passpnpm typecheckto verify type checks passpnpm testto verify all tests passpnpm lintto ensure linting passesRelated Issues
Additional Context
This migration enables the modern JSX transform introduced in React 17, which eliminates the need to import React in every file that uses JSX. The transform automatically imports the necessary functions from
react/jsx-runtime. This should be completed before migrating the greenhouse app.