File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 309309 "code" : " useEffect(() => {\n // Update the document title using the browser API \n document.title = `You clicked ${count} times`;\n });"
310310 }
311311 ]
312+ },
313+ {
314+ "title" : " রিঅ্যাক্ট JS এ কন্ডিশনাল রেন্ডারিং (Conditional Rendering)" ,
315+ "iitems" : [
316+ {
317+ "definition" : " একটি কন্ডিশন তৈরী করা যেই কন্ডিসনে রেন্ডারিং নির্ভর করবে" ,
318+ "code" : " const isLoggedIn = true;"
319+ },
320+ {
321+ "definition" : " একটি কন্ডিশনাল এক্সপ্রেশন ব্যবহার করে ভিন্ন JSX রেন্ডার করা" ,
322+ "code" : " const greeting = isLoggedIn ? <h1>Welcome Back!</h1> : <h1>Please Sign In</h1>;"
323+ },
324+ {
325+ "definition" : " logical && অপারেটর ব্যবহার করে কন্ডিশনাল রেন্ডারিং করা - যখন কন্ডিশনটি true হবে তখনই JSX রেন্ডার হবে" ,
326+ "code" : " isLoggedIn && <h1>Welcome Back!</h1>"
327+ },
328+ {
329+ "definition" : " logical || অপারেটর ব্যবহার করে কন্ডিশনাল রেন্ডারিং করা - যখন কন্ডিশনটি false হবে তখনই অন্যটি রেন্ডার হবে" ,
330+ "code" : " const greeting = isLoggedIn || <h1>Please Sign In</h1>;"
331+ },
332+ ],
312333 }
313334 ]
314335}
You can’t perform that action at this time.
0 commit comments