We can conveniently avoid the pyramid of Doom of .then callbacks by using "beforeEach" hook to fetch our data. We can also fetch or prepare the data once using the "before" hook, but then we need to recreate the aliases from that data value using "beforeEach" hooks. See more details in github.com/bah...
18 сен 2024