399b59dc8725141347c7ac485bebce93c0bd7960
- tokenize(): add try/catch + filter empty/null parts so a bad regex never propagates to the React render tree - Word detection useEffect: wrap entire async block and each per-token fetch in try/catch; filter null/malformed word objects out of the map before setWordMap() so the render never receives w.id === undefined - "Erkannte Wörter" sections in PairForm and EditPairForm: filter wordMap entries where w?.id is falsy; use (allObjects || []) defensively - handleCreateWord: only update wordMap when the API response contains w.id - After successful save in PairForm: reset all text/word state so the form starts clean for the next pair Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.
Description
Languages
JavaScript
98.8%
CSS
1%
HTML
0.1%
Dockerfile
0.1%