Skip to content

Commit 8d0adbd

Browse files
committed
Update other-resources.md
1 parent 72dff3c commit 8d0adbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/other-resources.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Other solutions
2525
</form>
2626
```
2727

28+
### Deep components
29+
2830
With BEM, you're allowed to have deep components where the DOM subtree can go down many levels deep. While this is true in RSCSS as well, the dependence on the child selector (`>`) makes this impractical.
2931

3032
I view this more as a feature than a defect: it forces you to create new components for deep hierarchies, making this more manageable. RSCSS's use of `>` also makes it easy to visualize a DOM structure based on CSS styles, leading to self-documenting code.

0 commit comments

Comments
 (0)