Skip to content

Commit 15082e3

Browse files
committed
Added 1 Design Software
1 parent 9fe29df commit 15082e3

File tree

3 files changed

+43
-1
lines changed

3 files changed

+43
-1
lines changed

pages/React js.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,42 @@
1-
# more learn
1+
# Notes
2+
- ## Arrow Functions
3+
- Valid - invalid Code Write
4+
- ```js
5+
// exactly one parameter
6+
7+
// valid
8+
(userName) => { ... }
9+
10+
11+
If your function takes more than one parameter, you also must not omit parentheses - userName, userAge => { ... } would be invalid ((userName, userAge) => { ... } is correct)!
12+
13+
// Omitting function body curly braces
14+
// If your arrow function contains no other logic but a return statement, you may omit the curly braces and the return keyword.
15+
16+
Instead of
17+
18+
number => {
19+
return number * 3;
20+
}
21+
you could write
22+
23+
number => number * 3;
24+
The following code would be invalid:
25+
26+
number => return number * 3; // invalid because return keyword must also be omitted!
27+
number => if (number === 2) { return 5 }; // invalid because if statements can't be returned
28+
29+
// Special case: Just returning an object
30+
If you go for the shorter alternative explained in 2) and you're trying to return a JavaScript object, you may end up with the following, invalid code:
31+
32+
number => { age: number }; // trying to return an object
33+
This code would be invalid because JavaScript treats the curly braces as function body wrappers (not as code that creates a JS object).
34+
To "tell" JavaScript that an object should be created (and returned) instead, the code would need to be adjusted like this:
35+
36+
number => ({ age: number }); // wrapping the object in extra parentheses
37+
By wrapping the object and its curly braces with an extra pair of parentheses, JavaScript understands that the curly braces are not there to define a function body but instead to create an object. Hence that object then gets returned.
38+
```
39+
- # more learn
240
- Explore the following links for valuable resources, communities, and tools to enhance your skills:
341
-
442
- ## Github & Webs

pages/Software.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
- [[Fyrox]] : 3D and 2D game engine written in Rust
5656
- [[NcEngine]]: 3D game engine written in modern C++ and Vulkan
5757
- [[Thunder Engine]] : Cross-platform 2D and 3D game engine with modular
58+
- [[penpot]] : Online web Based Open source Design Tool
5859
-
5960
- # Free Software
6061
- ## Video Editing
@@ -66,6 +67,7 @@
6667
- ## Graphics Design
6768
- [[Inkscape]] : Free vector graphics editor (lifetime free)
6869
- [[Figma]] : Free tier available for interface design and collaboration (lifetime free for individuals, web-based)
70+
- [[penpot]] : Online web Based Open source Design Tool (Life time free, Unlimited Projects)
6971
-
7072
- ## Drawing & 2D Animation
7173
- [[Autodesk SketchBook]] : Free version available for digital drawing (lifetime free)

pages/penpot.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- WebSite link - [Penpot](https://penpot.app/)
2+
-

0 commit comments

Comments
 (0)