리액트와 스프링 부트간 통신을 해야한다. 아래와 같이 아주 간단한 소스를 활용하여 테스트를 하면.. const [apiTest, setApiTest] = useState('') const btnOnClick = () => { api.get("/api/hello") .then((response) => setApiTest(response.data)); } return ( 서버에서 받은 데이터 : {apiTest} API 테스트 )@RestController@RequestMapping("/api")public class SampleController { @GetMapping("/hello") public String helloReact() { re..