scorelab / tensormap

TensorMap will be a web application that will allow the users to create machine learning algorithms visually. TensorMap will support reverse engineering of the visual layout to a Tensorflow implementation in preferred languages. The goal of the project is to let the beginners play with machine learning algorithms in Tensorflow without less background knowledge about the library.
Apache License 2.0
50 stars 85 forks source link

refactor code to unify the format of ajax request #103

Open AdityaSrivast opened 4 years ago

AdityaSrivast commented 4 years ago

Current Behaviour: Currently, in the project, there are multiple ways being followed to perform ajax request to the server. For eg., Dashboard.jsx uses fetch, ViewData.jsx uses vanilla JS' XMLHttpRequest().

Expected: One format should be followed throughout the project.

Remarks: I am working on it.

AdityaSrivast commented 4 years ago

@orionpax00 @sumedhe @suleka96 mentors need your suggestions regarding this. I think axios or fetch would be better alternatives.

srivastava9 commented 4 years ago

I have changed the format to fetch in ViewData.jsx you can do the rest:)