Answer the question
In order to leave comments, you need to log in
Webpack and Mysql, how to organize a dynamic connection?
I already asked a similar question, but I googled more and realized that I was mistaken when I asked how to dynamically connect nodejs and mysql. As I understand it, the main problem is in the webpack assembly. Now, after building the project with the webpack, I can use mysql-loader to log data from mysql in the browser console, but if I change the data in the database and refresh the page, nothing will change in the browser, and only after rebuilding the project will the changes be displayed, which is not at all conveniently.
Ps I'm looking for a ready-made solution, since I don't want to deal with the backend, it remains only to dynamically connect to the database and you can deal with a clean front, which is what I need.
Pss I've already read about pools and sockets, for a day now I've been trying to understand nothing, please don't send me to learn the mat part, I just need one ready-made solution and score on the back
Answer the question
In order to leave comments, you need to log in
What do you not understand about this example?
https://metanit.com/web/nodejs/8.6.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question