If you work regularly with React, chances are you are already familiar with at least the concept of React Suspense. Suspense is a useful tool provided by the React library that allows developers more control over UI loading states. If, however, you work all day with legacy code, refuse to let your React version budge past 16.5, or are simply new to React, allow us to give you an introduction!
We've all been there: you’re multiple folders deep in a project, and you must reach up to grab a component in a top-level folder with an unknown level of
../'s to traverse.
These complications increase drastically as a project grows in size and complexity; they might even cause fear whenever the word "refactor" is uttered. Fear not! There is a solution to your woes—path aliases.
Often times, particularly when dealing with complex nested data, React developers need to re-think the way they're structuring their component trees. In certain cases, when the data requires it, component trees can't be rendered in an iterative fashion, instead React developers must rely on recursion to display their data.