Javascript – Should use async function and Promise to wait for returned data from BE
I have a tree, so when a user clicks on the root, the table will automatically display the first item of that root node. The problem arises when the user clicks too quickly, even before the API tree returns data…