You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and fix/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 turning QuesionForm into a class component.
The text was updated successfully, but these errors were encountered:
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
dev
andfix/18chowdhary/fix-question-lagging
for any other differences.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.The text was updated successfully, but these errors were encountered: