Skip to content

Commit 705ba6d

Browse files
added newly comming keyword and code from React router v6
1 parent 8f7feba commit 705ba6d

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

data/react-cheat-sheet.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,31 @@
237237
}
238238
]
239239
},
240+
{
241+
"title": "রিঅ্যাক্ট রাউটার v6",
242+
"items": [
243+
{
244+
"definition": "npm এর সাহায্যে রাউটার ইন্সটল",
245+
"code": "npm install react-router-dom@6"
246+
},
247+
{
248+
"definition": "yarn এর সাহায্যে রাউটার ইন্সটল",
249+
"code": "yarn add react-router-dom@6"
250+
},
251+
{
252+
"definition": "Router সেট করতে App.js এ যুক্ত করুন",
253+
"code": "import { BrowserRouter } from 'react-router-dom'"
254+
},
255+
{
256+
"definition": "Router Render করতে App.js এ যুক্ত করুন",
257+
"code": "import { Routes, Route } from 'react-router-dom'"
258+
},
259+
{
260+
"definition": "লিংক বা সুইচ এর মাধ্যমে পেইজ পরিবর্তন করতে App.js এ যুক্ত করুন",
261+
"code": "import { Routes, Route, Link } from 'react-router-dom'"
262+
}
263+
]
264+
},
240265
{
241266
"title": "রিঅ্যাক্ট হুকস",
242267
"items": [

0 commit comments

Comments
 (0)