Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
import { useState, useEffect } from 'react'
import axios from 'axios'
const baseURL = "http://localhost:3004"
function App() {
const [products, setproducts] = useState(null)
useEffect(() => {
axios.get(baseURL).then((response) => {
setproducts(response.data);
});
})
return (
<div >
</div>
);
}
export default App;
Hi, this is a comment.
To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
Commenter avatars come from Gravatar.