Flexibility: Headless UI allows developers to customize the appearance and behavior of components according to their needs, without being limited by pre-defined styles or behaviors.
Accessbility
Resuability: can be used in any framework or project and can be customized as needed.
Performance: less bundle size
Format agnostic
There are many query format like: mongodb query, SQL, elastic search query. Or backend developer can define own query definition.
So instead of defining a format, we should use an AST-like data structure internally and provide some utility functions that can convert to some popular query formats.
HeadlessUI
Why headless ui?
Format agnostic
There are many query format like: mongodb query, SQL, elastic search query. Or backend developer can define own query definition.
So instead of defining a format, we should use an AST-like data structure internally and provide some utility functions that can convert to some popular query formats.