Skip to content

Commit d6f24dc

Browse files
cjyuanillicitonion
andauthored
Update Sprint-3/todo-list/02-guide_to_modularize_code.md
Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com>
1 parent 0ef86a4 commit d6f24dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sprint-3/todo-list/02-guide_to_modularize_code.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ It focuses on:
4444
- ✅ How to present data on the screen
4545
- ✅ Calling functions in the non-UI part to process the data
4646

47+
### Dependencies
48+
49+
The UI parts can depend on the non-UI parts (e.g. call functions from the non-UI parts). But the non-UI parts should not depend on the UI parts.
50+
4751
### Example: The ToDo App
4852
- The non-UI part is implemented in `todos.mjs`
4953
- The UI part is implemented in `script.mjs`

0 commit comments

Comments
 (0)