A is your React app, C is your Java service, and B is the hypothetical bff that might be inserted between.
Decoupling is not disconnection.
If B is (well-)implemented, your React app and Java service do not know about each other.