Quote:
Originally Posted by RustyBrooks
You're not using, say, the fetch library?
And **** no, I don't want to use vanilla JS.
I am not sold on SPA. In fact maybe I'm against it. But I'd still rather do that than try to roll my own.
Yeah, I'm uneducated and don't know what things are called. I'm using fetch. "AJAX" supposedly means asynchronous javascript and xml or something and I guess what I'm doing is asynchronous javascript and json, so AJAJ. I guess the pain part is the xml parsing part?
I kinda like the SPA thing. The React Dev site I have so far just really flies.
I'm taking your word for React > vanilla 100%.
My first pass moving into "production" has been to have Python/Flask/apache/mod_wsgi serve the React. I have that working in a hello world way, but I think that's the wrong approach and I have to just keep the python as an api fetching data and deal with the cors/cross-origin issues that I failed to conquer setting up the dev.