Skip to main content

Limitations

Some known limitations of Hydro-SDK

TypeScript#

Toolchain#

The compiler toolchain needs to control tsconfig options in order to control compilation for different build profiles. strict is always turned on by default.

The current compiler toolchain is really bad at tree-shaking. For example,

import {SizedBox} from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/sizedBox/index"

will be more efficient than

import {SizedBox} from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/index"

and

import {SizedBox} from "@hydro-sdk/hydro-sdk/runtime/flutter/index"

Language#