Skip to content

Commit 916fb37

Browse files
committed
#6703 Unified Config System article: h2 headings
1 parent 90ed1aa commit 916fb37

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

resources/data/deck/learnneo/pages/benefits/ConfigSystem.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ non-DOM entities such as data stores, state providers, routers, view controllers
77
While existing frameworks offer solutions for managing these aspects, they often lack a truly consistent, declarative,
88
and 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

2830
Now you might wonder why I think that this is not a good way to create apps.
2931

30-
3132
Currently, the configuration and management of these non-DOM entities can feel somewhat disparate across different
3233
frameworks. State management, for instance, might involve dedicated libraries (like Redux or Vuex), routing is
3334
handled 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
4647
composition of the application's various parts, offering a holistic view that is often obscured when non-DOM elements
4748
are configured in isolation using different mechanisms.
4849

50+
## Key advantages
4951
A class config system, by treating all application entities as configurable classes within a unified hierarchy,
5052
offers several key advantages:
5153

0 commit comments

Comments
 (0)