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
Answer 3 questions and Léa tailors the prompt to your situation.
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
Headlines (Counter-Intuitive Angle)
Differentiation, saturated markets
Forecast key evolutions in your sector
Get a complete prospective analysis of your sector with PESTEL analysis, evolution scenarios, and strategic roadmap.
Mistral Prompt to Plan a Meeting
Planning an effective meeting requires much more than simply blocking a time slot in a calendar. You need to define a clear objective, identify essential participants, prepare a structured agenda, and anticipate logistics. Mistral, the leading French language model, excels at this type of organizational task thanks to its nuanced understanding of the French-speaking professional context. By using a well-crafted prompt, you can ask Mistral to generate a complete meeting plan in seconds: objectives, suggested participants, a timed agenda, documents to prepare, and even an invitation email template. Whether you're organizing a weekly team stand-up, a project steering committee, or a creative brainstorming session, Mistral adapts to the required format and level of formality. This page offers an optimized main prompt along with three variants suited to your level of requirements, to transform your meeting planning into a fast, structured, and professional process.
Churn Prediction
Proactively prevent churn