Skip to content

Commit 11f6ba2

Browse files
author
Sabbir Ahmed
authored
Merge pull request #806 from mehedihasankhairul/develop
Section Added for ES6 later features
2 parents baa9002 + 705ba6d commit 11f6ba2

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

data/es6-plus.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"id": "es6-plus",
3+
"title": "ইএস৬ পরবর্তী চিটশিট সমূহ ",
4+
"slug": "es6-plus-cheat-sheet",
5+
"description": "ইএস৬ এর পরবর্তী সকল চিটশিট সমূহ এখানে রয়েছে।",
6+
"colorPref": "#fcbc20",
7+
"contents": [{
8+
"title": "মেথড সমূহ",
9+
"items": [{
10+
"definition": "at() মেথড indexable ভ্যালুগুলোর জন্য ব্যবহার করা হয়।",
11+
"code": "arr.at(-1);"
12+
}
13+
]
14+
}
15+
]
16+
}

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)