Skip to content

Commit 65cdff6

Browse files
committed
furthure changes
1 parent 391d89c commit 65cdff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/learn/manipulating-the-dom-with-refs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ for (let i = 0; i < 20; i++) {
589589

590590
</DeepDive>
591591

592-
## DOM मैनिपुलेशन के लिए सर्वोत्तम प्रथाएँ (Best practices for DOM manipulation with refs)
592+
## DOM मैनिपुलेशन के लिए सर्वोत्तम प्रथाएँ {/*best-practices-for-dom-manipulation-with-refs*/}
593593

594594
Refs एक "escape hatch" हैं। आपको इन्हें केवल तब उपयोग करना चाहिए जब आपको "React से बाहर कदम रखना हो"। इसके सामान्य उदाहरणों में फोकस, स्क्रॉल पोजीशन को मैनेज करना, या उन ब्राउज़र APIs को कॉल करना शामिल है जिन्हें React एक्सपोज़ नहीं करता।
595595

@@ -755,7 +755,7 @@ button { display: block; margin-bottom: 20px; }
755755

756756
</Solution>
757757

758-
#### खोज फ़ील्ड को फ़ोकस करें
758+
#### खोज फ़ील्ड को फ़ोकस करें {/*focus-the-search-field*/}
759759

760760
इस तरह से बनाएं कि "Search" बटन पर क्लिक करने से फ़ोकस फ़ील्ड में चला जाए।
761761

0 commit comments

Comments
 (0)