Designing a State Management System
Restructuring state management for a complex application
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
My [APPLICATION_DESCRIPTION] application has state management issues with [Redux/Context API/Zustand/other]. Here is the current structure: [DESCRIBE_STRUCTURE]. Analyze the current problems (prop drilling, excessive re-renders, overly centralized state) and propose an optimized state architecture with code examples for the most common use cases.
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Use Cases
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Pour un diagnostic efficace, accompagnez votre description d'un profilage React DevTools ou des métriques de rendu. Cela permet d'isoler les re-rendus inutiles et de justifier le choix entre Context et Zustand. Si votre état est très fréquent mais localisé, pensez à useReducer avec un store externalisé plutôt qu'un Context global.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Similar Prompts
Punchy Introduction
Introduction Writing
Prompt to Write a Professional Quote Request Email
A complete prompt to generate a structured, professional and customizable quote request email adapted to your industry and recipient.
Convert CSS to Tailwind
Migrate from standard CSS to Tailwind CSS
Probability Calibration
Improve the reliability of predicted probabilities