jonny_ji7 7872a5fb21 Create react-app: web-interface with joystick
- Functional react project which currently provides a web-interface with a
  joystick element.
- Coordinates, angle and radius are calculated and sent via http POST request
  to an API provided by the esp32 controller (websocket approach was dropped)
- Currently the URL/IP is hardcoded in App.js and has to be changed depending
  on the IP-address of the esp32
2022-06-17 21:39:35 +02:00

15 lines
445 B
JavaScript

import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals