I like the pre-made stainless steel braided hoses. Some new dishwashers have 7/8 garden hose thread connectors that we use a special adapter elbow to reduce to 3/8"
I like to have one that is long enough to install and test for leaks before installing the DW in its cabinet.
This WATTS kit appears to have all the adapters in one to install in most situations.