|
|
|
|
|
by hu3
1822 days ago
|
|
This. Throughout my years it was very common to see juniors trying to model static website dropdown menus as recursive database tables. In practice if a menu has more than 3 levels the user experience will suffer. I keep them at 2 submenus max, possibly 1 if I can get away with it. Not to mention most menus are not dynamic, meaning they can be just a JSON file or simple HTML. |
|
[0] https://www.nlm.nih.gov/mesh/intro_trees.html