We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bd5824 commit 88ce726Copy full SHA for 88ce726
exercises/06.optimization/01.solution.parallel/index.tsx
@@ -122,6 +122,8 @@ function SearchResults({
122
123
function ShipDetails({ shipName }: { shipName: string }) {
124
const shipImgSrc = getImageUrlForShip(shipName, { size: 200 })
125
+ // 🦉 using "void" so we don't wait for the promise, but also signal to others
126
+ // that we're intentionally not waiting for this promise
127
void imgSrc(shipImgSrc)
128
// 🦉 play with the delay to see how it affects the loading experience
129
const ship = use(getShip(shipName, 300))
0 commit comments