feat: first draft

This commit is contained in:
Loic Coenen
2025-10-29 21:41:12 +01:00
commit 283b3e6885
36 changed files with 3073 additions and 0 deletions

23
src/App.tsx Normal file
View File

@@ -0,0 +1,23 @@
import { useReducer } from 'react'
import { useLoadTrainSchedule } from './hooks/useLoadTrainSchedule'
import { initialState, reducer } from './state'
import './App.css'
function App() {
const [state, dispatch] = useReducer( reducer, initialState,);
useLoadTrainSchedule(state, dispatch);
return (
<>
<textarea value={JSON.stringify(state)}></textarea>)
</>
)
}
export default App