You’ll find some good advice here:
The topology that I recommend is similar to what Roon Labs describes in this article. Connect a single unmanaged switch to your internet router. Cable Core (your NAS, if you have one) and as many Output devices as possible to that unmanaged switch. If the router can also function as a Wi-Fi access point and has adequate coverage, use it to connect Control devices (eg., smartphones, tablets, laptops). Otherwise, connect one or more Wi-Fi access points to the remaining ports on the router.
This design is balanced in the sense that traffic from all endpoint devices passes through the same number of switches before reaching the router (Internet). It’s also optimized since devices that are most likely to talk to each other (Core and Outputs,and NAS) are connected to the same switch (no inter-switch traffic required).
A tweak to this design is to connect Wi-Fi access points to the unmanaged switch instead of the router. Doing so will add an extra switch hop for wireless devices (the access point counts as a switch) but may be advantageous if the switch internal to the router creates problems.
Folks who have larger networks may end up with a central “distribution” switch that only has the router and other small “access” switches and access points connected to it. If the central switch can provide power over Ethernet (PoE), you can use a single UPS to power your entire home network by selecting PoE-powered access switches and Wi-Fi access points. All endpoint devices connect via Wi-Fi or one of the small (typically five or eight port) access switches. As above, this is what I refer to as a balanced topology. It just has an extra layer.
Wi-Fi mesh networks are workable, but they are harder to balance and are usually less reliable unless the nodes use wired Ethernet for their backhaul connections.
Pro tip: Use the simplest topology that will get the job done as each layer tends to negatively impact reliability increases troubleshooting effort.