Mix all the dressing ingredients in a mason jar with a lid, or in a large bowl. Shake the jar vigorously until combined, or alternatively whisk until the mixture comes together.
Assemble the salad starting with the spinach, then the pears, pecans, shallot, and cranberries. Drizzle on as much dressing as needed. Serve.