मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)48k · #4646

fp-react

यह क्या करती है

यह tool React का इस्तेमाल करके web applications के लिए code लिखने में मदद करता है। इसमें इस बात पर ध्यान दिया जाता है कि उन data को कैसे संभालें जो शायद मौजूद न हो, उन operations को कैसे संभालें जो विफल हो सकते हैं, और उस data को कैसे संभालें जो लोड हो रहा हो। यह code को अधिक व्यवस्थित और भरोसेमंद बनाने के लिए functional programming तरीका अपनाता है।

कब इस्तेमाल करें

  • ✓जब कोई value मौजूद न हो सकती हो।
  • ✓जब कोई operation विफल हो सकता हो।
  • ✓जब loading, error, या success states दिखाने की ज़रूरत हो।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fp-react/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fp-react/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“React और functional programming का इस्तेमाल करके ऐसे form को कैसे संभालूँ जिसमें कई validations की ज़रूरत हो?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह code में अनिश्चितता संभालने के लिए `Option` और `Either` जैसे functional programming patterns का इस्तेमाल करता है। इससे आम गलतियाँ रुकती हैं और data का प्रवाह अधिक अनुमानित रहता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Functional Programming in React

Practical patterns for React apps. No jargon, just code that works.


Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use What

Situation Use
Value might not exist Option<T>
Operation might fail (sync) Either<E, A>
Async operation might fail TaskEither<E, A>
Need loading/error/success UI RemoteData<E, A>
Form with multiple validations Either with validation applicative
Dependency injection Context + ReaderTaskEither
Prevent re-renders with fp-ts useMemo or fp-ts-react-stable-hooks

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
अक्सर पूछे जाने वाले सवाल

`Option<T>` क्या है?

यह बताने का तरीका है कि कोई value मौजूद हो भी सकती है और नहीं भी। इससे ऐसी चीज़ इस्तेमाल करने की गलती नहीं होती जो है ही नहीं।

`Either<E, A>` क्या है?

यह एक ऐसा result दर्शाता है जो या तो error (E) हो सकता है या success (A)। ऐसे operations के लिए काम आता है जो विफल हो सकते हैं।

`RemoteData<E, A>` क्या है?

यह asynchronous operation की अलग-अलग states को संभालने में मदद करता है: वह लोड हो रहा है, उसमें error आया है, या वह सफल हुआ है। इससे user interface बनाना आसान हो जाता है।

जानकारी

लेखक का मूल विवरण

Practical patterns for using fp-ts with React - hooks, state, forms, data fetching. Works with React 18/19, Next.js 14/15.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#4646
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills