Awesome
A preact implementation of Windows 95/98 style components and apps. It's a very specific implementation, and probably isn't suitable for your use case.
Developing
There are three separate projects:
- Storybook for component development (
npm start
) - Docs (
npm run watch-docs
) - Example app (
npm run watch-example
)
The final build is automated by npm run build
when deployed to Netlify.
Lessons learned
- React isn't super great for realtime apps. Window management in particular is handled directly in DOM to prevent windows rerendering on every mouse move.
- This took a fair while to implement, and toward the end I got a little lazy with prop drilling. Windows have far too many dependencies and could benefit from a simpler API.