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
React 16 update has exposed issues with state handling in the PollQuestion component.
UseEffect seems to be used only for errors or unchecking, unchecking should not be required if we used checked state correctly. Component has lots of repeat code and is very complex, possible solution to dumb down the question comps and do more in the questions list comp
Screenshot?
The text was updated successfully, but these errors were encountered:
@hom3mad3 So the way that interpret it, this means that the code of PollQuestion is in itself not optimal and needs to be revised before we think about changing certain aspects of the poll module, right?
@hom3mad3 So the way that interpret it, this means that the code of PollQuestion is in itself not optimal and needs to be revised before we think about changing certain aspects of the poll module, right?
The entire poll needs refactoring. This includes not just the PollQuestion component, but all the other components that are dependencies of Poll as well.
React 16 update has exposed issues with state handling in the PollQuestion component.
UseEffect seems to be used only for errors or unchecking, unchecking should not be required if we used checked state correctly. Component has lots of repeat code and is very complex, possible solution to dumb down the question comps and do more in the questions list comp
Screenshot?
The text was updated successfully, but these errors were encountered: