-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Description
The Question Form takes a very long time to load - so long that it is noticeable to users and confuses them. To reduce this confusion, we tried to implement a loading spinner in the Question Form that displays while the questions are being set-up so that the user is informed that the questions are loading. However, we were not able to finalize the implementation of the loading spinner - specifically, the CountyDropdown causes an infinite re-render loop that makes the app crash. Through debugging, we have determined the issue may not be in the CountyDropdown; on the dev
branch, which has the QuestionForm as a functional component without a loading spinner, the CountyDropdown renders without any issues. However, when the QuestionForm is turned into a class component with a loading spinner, the CountyDropdown does not render successfully. The CountyDropdown is identical in each branch.
Next Steps
- Compare
dev
andfix/18chowdhary/fix-question-lagging
for any other differences. - Perhaps consider turning QuestionForm in
fix/18chowdhary/fix-question-lagging
branch into a functional component with a loading spinner to determine if the issue may be turningQuesionForm
into a class component.