Skip to content

frontend/: Prop drilling and context abuse lead to unnecessary re-renders across the entire #465

@aniket866

Description

@aniket866

Location

frontend/ -> State Management (App.jsx, Home.jsx)


Issue

Prop drilling and context abuse lead to unnecessary re-renders across the entire application tree when isolated state changes.


Proposed Fix

Implement a robust atomic state management library like Zustand or Jotai, and refactor the component tree to subscribe only to necessary state slices.


Why This Matters

Unnecessary re-renders cause severe UI lag on lower-end devices, especially when visualizing large agricultural datasets.


Difficulty

Hard( Requires extensive refactoring of the entire frontend component hierarchy and deep understanding of React render cycles.)


I would like to work on this issue.

@Eshajha19 /assign

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions