Problem Statement
Dashboard.Web targets netstandard2.1 but H5 (C# to JavaScript transpiler) only supports .NET Standard 2.0 APIs. Code using netstandard2.1-specific APIs fails to transpile to JavaScript.
Current State
- Dashboard.Web.csproj:
<TargetFramework>netstandard2.1</TargetFramework>
- H5 version: 24.11.53878 (Nov 2024) - Latest is 26.2.64289
- H5 transpilation: DISABLED (wwwroot/index.html:102) due to React hooks incompatibility
- Current workaround: Pure JavaScript with React
Desired Outcome
- Upgrade H5 package to 26.2.64289 or latest stable
- Downgrade to
netstandard2.0 OR constrain code to use only 2.0 APIs
- Re-enable H5 transpilation
- Verify React hooks compatibility
Success Criteria
Overarching Goal
Enable offline-first Dashboard with browser SQLite and shared type-safe code between microservices and frontend.
Problem Statement
Dashboard.Web targets
netstandard2.1but H5 (C# to JavaScript transpiler) only supports .NET Standard 2.0 APIs. Code using netstandard2.1-specific APIs fails to transpile to JavaScript.Current State
<TargetFramework>netstandard2.1</TargetFramework>Desired Outcome
netstandard2.0OR constrain code to use only 2.0 APIsSuccess Criteria
Overarching Goal
Enable offline-first Dashboard with browser SQLite and shared type-safe code between microservices and frontend.