@@ -7,7 +7,9 @@ non-DOM entities such as data stores, state providers, routers, view controllers
77While existing frameworks offer solutions for managing these aspects, they often lack a truly consistent, declarative,
88and nested approach to their configuration, a gap that a class config system aims to fill.
99
10- As a bad example, I recently found this Angular code snippet (new public API draft) on LinkedIn:
10+ ## A bad example
11+ I recently found this Angular code snippet (new public API draft) on LinkedIn:
12+
1113<pre data-javascript >
1214// MyComponent with an attribute
1315<MyComponent myAttribute =" someValue " />
@@ -27,7 +29,6 @@ As a bad example, I recently found this Angular code snippet (new public API dra
2729
2830Now you might wonder why I think that this is not a good way to create apps.
2931
30-
3132Currently, the configuration and management of these non-DOM entities can feel somewhat disparate across different
3233frameworks. State management, for instance, might involve dedicated libraries (like Redux or Vuex), routing is
3334handled by router-specific configurations, and layouts might be defined through a mix of component composition and
@@ -46,6 +47,7 @@ use – all within a unified configuration syntax. This nested structure would c
4647composition of the application's various parts, offering a holistic view that is often obscured when non-DOM elements
4748are configured in isolation using different mechanisms.
4849
50+ ## Key advantages
4951A class config system, by treating all application entities as configurable classes within a unified hierarchy,
5052offers several key advantages:
5153
0 commit comments