yarn start
- Express
- React
- Typescript
- ReduxToolKit
- ReactVirtualScroll
- Recharts
StocksDashboard is a sample web application designed for real-time monitoring and analysis of stock market data. This tool provides dynamic insights into stock prices and their fluctuations.
- WebSockets
- Responsive Design
- CSS Grid / Auto Layout
- Animations
- Charts
- Abort Previous Calls
- Virtual Scrolling
- Custom Hook
-
Real-Time Updates: StocksDashboard leverages an active WebSocket connection to deliver real-time updates of stock values. Users can stay informed about market changes as they happen.
-
Responsive Design: The application offers a seamless user experience across various devices. Its responsive design optimizes layout and functionality to adapt to different screen sizes, ensuring users can access critical information from anywhere.
-
Dynamic CSS Grid: Stock items are displayed in a dynamic CSS Grid layout. Each stock item is presented as an interactive card, and the grid auto-adjusts based on available screen space.
-
Visual Feedback: Stock Item Cards provide visual feedback on price changes. When a stock's value deviates by more than 25% from its previous value, the card undergoes a subtle shaking animation, highlighting significant changes. Additionally, cards change color to red for negative changes and green for positive changes.
-
Interactive Charts: Users can dive deeper into stock performance by clicking on any card. This action opens an interactive chart that displays the price history of the selected stock. This feature empowers users with the tools they need for in-depth analysis.
-
Optimized Performance: StocksDashboard ensures smooth user interactions. When a user clicks quickly on multiple cards, the application automatically aborts any previous calls, preventing the accumulation and queuing of requests. This smart handling of rapid clicks enhances performance and responsiveness.
-
Mobile Optimization: On mobile devices, StocksDashboard optimizes performance and user experience. Instead of a grid, stock cards are presented within a Virtual Scrolling container, ensuring maximum speed and efficiency on smaller screens.
-
Custom Animation Hook: A custom hook: useElementAnimation is available that simplifies the integration of animations within React components. This hook seamlessly adds animation classes to HTML elements, enabling developers to create smooth and visually appealing transitions in their applications.