6b0b637636174e670199e5a8fb6679ab5a536a6b
- Root cause: App.tsx collab sync effect called setLayers(collab.layers) even when collab.layers was empty, wiping out initialLayers - Effect: RenderEngine.render() iterates layers to draw elements; with 0 layers, no elements render (appear to disappear) - Fix: guard against empty collab.layers Fixes: drawing tools work on desktop and mobile, objects persist after release
Web CAD Neu
Web-basiertes 2D-CAD für Event-Bestuhlungspläne.
Stack
- Frontend: React + TypeScript + Vite + HTML Canvas
- Backend: Node.js + TypeScript + Fastify + SQLite
- Collaboration: Yjs CRDT
Entwicklung
npm install
npm run dev
- Frontend: http://localhost:5173
- Backend: http://localhost:3001
Docker
docker-compose up --build
Description
Languages
TypeScript
80.1%
CSS
10.4%
HTML
8.1%
JavaScript
1.1%
Python
0.2%