React and Next.js Workshop - SkillBoost Event with CSE Club
Delivering a workshop at the CSE Club’s SkillBoost event, held at ESI ex. INI, was a great experience! We tackled the main and common frontend development tasks, focusing on React.js and Next.js to equip participants with modern web development skills.
Workshop Overview
The session explored fundamental and advanced concepts of React.js and Next.js, providing attendees with a comprehensive understanding of building production-ready web applications.
Part 1: React.js Deep Dive
Component-Based Architecture
Understanding the foundation of modern React development:
Components Evolution
- Functional Components: Modern React approach
- Class Components: Legacy patterns and lifecycle
- Component Composition: Building complex UIs from simple pieces
- Higher-Order Components (HOCs): Component enhancement patterns
- Render Props: Sharing code between components
Props & Component Communication
- Passing Props: Data flow in React applications
- Prop Types & TypeScript: Type safety in components
- Children Props: Composition patterns
- Prop Drilling: Understanding limitations
- Component APIs: Designing reusable interfaces
State Management Mastery
Local State
useStateHook: Managing simple stateuseReducerHook: Complex state logic- State Updates: Immutability principles
- Derived State: Computing values from state
Global State Solutions
- Context API: Built-in state sharing
- Custom Context: Building scalable contexts
- State Libraries: Redux, Zustand, Jotai overview
- When to Use What: Choosing the right approach
React Hooks In-Depth
Comprehensive coverage of React hooks:
Essential Hooks
useState: State management in functional componentsuseEffect: Side effects, subscriptions, cleanupuseContext: Consuming context valuesuseRef: DOM references and persistent values
Performance Hooks
useMemo: Memoizing expensive computationsuseCallback: Memoizing callback functionsReact.memo: Component memoization- When to Optimize: Performance best practices
Advanced Hooks
useLayoutEffect: Synchronous DOM effectsuseImperativeHandle: Customizing ref exposure- Custom Hooks: Creating reusable stateful logic
Part 2: Next.js Framework
We showcased Next.js’s powerful features that enhance the React ecosystem for modern web development.
Server-Side Rendering (SSR)
Understanding SSR
- What is SSR?: Server-rendered pages for each request
- Benefits: Better SEO, faster initial load, dynamic content
- Trade-offs: Server load, complexity
- Use Cases: E-commerce, dashboards, personalized content
Implementation
getServerSideProps: Data fetching on the server- Request Object: Accessing cookies, headers, query params
- Response Caching: Controlling cache behavior
- Error Handling: Graceful error states
Static Site Generation (SSG)
Understanding SSG
- What is SSG?: Pre-rendering at build time
- Benefits: Lightning-fast, CDN-friendly, SEO optimized
- Use Cases: Blogs, documentation, marketing sites
- Build Process: Understanding the static generation
Implementation
getStaticProps: Fetching data at build timegetStaticPaths: Generating dynamic routesfallbackModes: blocking, true, false- On-Demand Revalidation: Updating static content
Incremental Static Regeneration (ISR)
The Best of Both Worlds
- What is ISR?: Static generation with background updates
- How It Works: Revalidation on request
- Benefits: Static speed + dynamic freshness
- Use Cases: Content sites, e-commerce product pages
Implementation
revalidateProperty: Setting update intervals- Stale-While-Revalidate: Serving strategy
- On-Demand ISR: Manual revalidation triggers
- Cache Strategies: Optimizing performance
Performance Optimization
Next.js Built-in Optimizations
- Image Optimization: Next.js Image component
- Font Optimization: Font loading strategies
- Code Splitting: Automatic bundle optimization
- Script Optimization: Third-party script loading
- Route Prefetching: Faster navigation
Learning Outcomes
Attendees left with:
- Deep understanding of React fundamentals
- Mastery of Next.js rendering strategies in theory
- Knowledge of when to use SSR, SSG, or ISR
- Best practices for scalable applications
The SkillBoost Experience
The amount of participants who cared and attended made this workshop truly special! The level of engagement was outstanding:
- Thoughtful questions about coding decisions
- Active participation in coding logic and thinking
- Sharing personal experiences and challenges
- Collaborative problem-solving
- Genuine enthusiasm for learning
The energy in the room showed that the CSE Club community is passionate about modern web development and building their skills for the future.
Event Details:
- Place: CSE Club - ESI ex. INI
- Date: November 1, 2025
- Event: SkillBoost
- Attendees: 75+ developers
- Duration: Full-day intensive workshop
- Projects: Complete Next.js applications built and deployed
The CSE Club continues to be an amazing platform for knowledge sharing and community building!
