How lokiasgardian/react_calculator works
A small browser calculator: users enter an expression, evaluate it, and see the result in the React UI. The same component manages keypad input, calculation, and theme state; it also persists the theme in browser localStorage. Source excerpts show the app bootstrap and component, but the README documents no additional capabilities.
Main entry points: App.js Calculator UI · index.js React bootstrap
Components 4
Other components
- User
- React bootstrap
src/index.js - Calculator UI
src/App.js - Browser localStorage
Connections 5
- React bootstrap → Calculator UI: renders
- User → Calculator UI: enters expression
- Calculator UI → User: displays result
- Calculator UI → Browser localStorage: reads theme
- Calculator UI → Browser localStorage: writes theme