File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 288288 "code" : " useEffect(() => {\n // Update the document title using the browser API \n document.title = `You clicked ${count} times`;\n });"
289289 }
290290 ]
291+ },
292+ {
293+ "title" : " রিঅ্যাক্ট JS এ কন্ডিশনাল রেন্ডারিং (Conditional Rendering)" ,
294+ "iitems" : [
295+ {
296+ "definition" : " একটি কন্ডিশন তৈরী করা যেই কন্ডিসনে রেন্ডারিং নির্ভর করবে" ,
297+ "code" : " const isLoggedIn = true;"
298+ },
299+ {
300+ "definition" : " একটি কন্ডিশনাল এক্সপ্রেশন ব্যবহার করে ভিন্ন JSX রেন্ডার করা" ,
301+ "code" : " const greeting = isLoggedIn ? <h1>Welcome Back!</h1> : <h1>Please Sign In</h1>;"
302+ },
303+ {
304+ "definition" : " logical && অপারেটর ব্যবহার করে কন্ডিশনাল রেন্ডারিং করা - যখন কন্ডিশনটি true হবে তখনই JSX রেন্ডার হবে" ,
305+ "code" : " isLoggedIn && <h1>Welcome Back!</h1>"
306+ },
307+ {
308+ "definition" : " logical || অপারেটর ব্যবহার করে কন্ডিশনাল রেন্ডারিং করা - যখন কন্ডিশনটি false হবে তখনই অন্যটি রেন্ডার হবে" ,
309+ "code" : " const greeting = isLoggedIn || <h1>Please Sign In</h1>;"
310+ },
311+ ],
291312 }
292313 ]
293314}
You can’t perform that action at this time.
0 commit comments