Question: Which statements are more appropriate with the following code snippets? export default function * rootSaga ( ) { yield spawn ( fetchUsers ) yield spawn
Which statements are more appropriate with the following code snippets?
export default function rootSaga
yield spawnfetchUsers
yield spawnfetchProducts
yield spawnfetchOrders
export default function rootSaga
yield forkfetchUsers
yield forkfetchProducts
yield forkfetchOrders
Select one or more:
a There is no difference, both work the same
b With the spawn if one saga failed, the root saga and other sagas will not be killed
c With the spawn if one saga failed, the root saga and other sagas will also be killed
d With the fork if one saga failed, the root saga and other sagas will also be killed
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
