You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2024. It is now read-only.
@@ -29,20 +29,18 @@ Are you tired of your react components looking like an unreadable mess?
29
29
Have you often asked yourself: "there must be a better way!"?
30
30
Then look no further, because this library is just what you need!
31
31
32
-
Multiple studies from reputable anonymous sources have shown that projects using `react-semantics` have 24% higher productivity and increased life satisfaction.
32
+
Multiple studies from reputable anonymous sources have shown that projects using this library have 24% higher productivity and increased life satisfaction.
33
33
Does this sound too good to be true?
34
-
Does the rational part of your brain see through this shallow pitch for yet another mediocre react library?
34
+
Do you start to see through this shallow pitch for yet another react component library?
35
35
36
-
Reject those thoughts and allow me to demonstrate the overwhelming might of this library with a simple example below!
36
+
Reject those thoughts and allow me to demonstrate the might of this library with a simple example below!
37
37
38
38
### Before
39
39
40
40
Here you see two common use cases where you have to show something when a condition is true and map content from an array of data.
41
41
This is normally solved by inline arrow functions that are hard to read and easily becomes unmanageable in more complex components.
42
42
43
43
```jsx
44
-
importReactfrom'react';
45
-
46
44
constMenu= ({ showMenuItems }) => (
47
45
<nav>
48
46
<a href="/">Home</a>
@@ -67,16 +65,15 @@ What they do are intuitively obvious due to careful naming and all the noise fro
0 commit comments