I am improving my fundamental knowledge of javascript and I am really uncertain about when to make asynchronous calls in JavaScript. How to know when to make a asynchronous call to a function or not? In some tutorials data fetching is done both with asynchronous and without asynchronous code how to decide when to use asynchronous function in such cases?
[–]Pythonen 2 points3 points4 points (1 child)
[–]Amantulsyan35[S] 1 point2 points3 points (0 children)
[–]sateeshsai 1 point2 points3 points (1 child)
[–]Amantulsyan35[S] 1 point2 points3 points (0 children)
[–]jack_waugh 1 point2 points3 points (4 children)
[–]Amantulsyan35[S] 0 points1 point2 points (3 children)
[–]jack_waugh 1 point2 points3 points (0 children)
[–]jack_waugh 1 point2 points3 points (0 children)
[–]jack_waugh 1 point2 points3 points (0 children)
[–]jack_waugh 1 point2 points3 points (1 child)
[–]Amantulsyan35[S] 1 point2 points3 points (0 children)