react-webpack-express
react-webpack-express copied to clipboard
how I render my data to the other.jsx
I query a sql for results to other.jsx,other.jsx how to get the right result?
There are many ways to display the query results on your page.
- fetch data from backend dehydrate it to a JSON string and push it to the frontend side.
- create a query API and call it when your other component did mount.