react-webpack-express icon indicating copy to clipboard operation
react-webpack-express copied to clipboard

how I render my data to the other.jsx

Open moxiaobei2 opened this issue 8 years ago • 1 comments

I query a sql for results to other.jsx,other.jsx how to get the right result?

moxiaobei2 avatar Aug 11 '16 07:08 moxiaobei2

There are many ways to display the query results on your page.

  1. fetch data from backend dehydrate it to a JSON string and push it to the frontend side.
  2. create a query API and call it when your other component did mount.

larvata avatar Nov 05 '16 10:11 larvata