spring boot + react in same project code example Example 1: react spring yarn add react-spring Example 2: spring react npm install react-spring