This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* I'm going to be honest, I thought I was a 5 in React and I knew of Suspense, | |
* but now that I'm seeing that Concurrent React is already available this is the first | |
* I'm reading of this. | |
* | |
* I should have known to never give a 5 on anything in an interview :D | |
* | |
* The core issues: | |
* - Fallback state was not set | |
* - Didn't use the Suspence data fetching API (wrapPromise function below), not sure the 'proper' naming of this TBH. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello World |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lol |