I am new to programming and have been taking my first development class and am working on a Final Project. I am working with a small team to build a simple Code Evaluation platform. We are using React to build the Frontend and Django DRF to build the Backend. I have been attempting to build a simple interface to evaluate Javascript code a user types in with CodeMirror to handle the input area, and Tape to evaluate the code. I was attempting to use Redux state to access what the user has typed in, to then evaluate it with Tape. The problem I have discovered is I can't access Redux state in that way from the test. I have looked at other similar platforms online, and noticed that most seem to do their evaluation in the backend through API calls. My questions is, if there is any way to actually handle the evaluation of the input on the Frontend, or is the best and only way through the Backend? Thank you for your time and patience.
Aucun commentaire:
Enregistrer un commentaire