Back to KB
Difficulty
Intermediate
Read Time
5 min
## [](#1-introduction-why-another-lowcode-framework)1\. Introduction β Why Another Low-Code Framewor
By Codcompass TeamΒ·Β·5 min read
Flux: Unified Value Semantics & Full-Value Tree Compilation for Low-Code Rendering
Current Situation Analysis
Traditional low-code rendering frameworks, exemplified by Baidu AMIS, exhibit structural limitations that hinder scalability, performance, and developer experience. The core pain points and failure modes include:
- Inconsistent Expression Rules at the Schema Layer: Frameworks traditionally split properties into static and dynamic variants using suffix conventions (
xxxOn,xxxExpr). This forces schema authors to memorize arbitrary rules, creates mutual exclusivity conflicts (e.g.,disabledvsdisabledOn), and lacks enforcement mechanisms. Template interpolation is often restricted to specific fields, failing to support deep nesting or plain string properties likelabel: "Hello ${name}". - Over-Responsibility of the Runtime Store: The state management layer (e.g., MST store) acts as a monolithic carrier for data containers, data operations, API calls, and dialog management. Behavior methods are attached directly to the store, while the
datafield relies on prototype-chain scoping (Object.create(superProps)). This interweaves reactive updates with variable lookup, creating implicit inheritance and unpredictable state mutations. - System Environment Prop Drilling: Framework-level objects (
store,env,data, render functions) are passed down through React props across every component layer. Intermediate renderers that don't consume these objects must still forward them, bloating renderer interfaces, increasing coupling, and degrading maintainability. - Why Traditional Methods Fail: Elevating the semantic distinction between static and dynamic values to the object structure level forces exponential schema growth during extension. Runtime-only evaluation without compile-time classification incurs unnecessary overhead, and implicit scoping mechanisms break determinism, making AI-generated schemas unreliable.
WOW Moment: Key Findings
Experimental benchmarking against traditional AMIS-like architectures reveals significant performance and structural improvements when adopting unified value semant
π Mid-Year Sale β Unlock Full Article
Base plan from just $4.99/mo or $49/yr
Sign in to read the full article and unlock all 635+ tutorials.
Sign In / Register β Start Free Trial7-day free trial Β· Cancel anytime Β· 30-day money-back
