MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/reactjs/comments/f86l9f/beginner_requesting_a_code_review_and_advice/finn8lk/?context=3
r/reactjs • u/[deleted] • Feb 23 '20
[deleted] — view deleted post
25 comments sorted by
View all comments
Show parent comment
2
Calling the function in jsx is perfectly valid
0 u/[deleted] Feb 24 '20 [deleted] — view deleted comment 2 u/exia_00_qant Feb 24 '20 Also this is semantic more than anything, you might want to rename your variable to displaytext or getDisplayText or something along those lines.
0
[deleted] — view deleted comment
2 u/exia_00_qant Feb 24 '20 Also this is semantic more than anything, you might want to rename your variable to displaytext or getDisplayText or something along those lines.
Also this is semantic more than anything, you might want to rename your variable to displaytext or getDisplayText or something along those lines.
View all comments
Show parent comment
2
u/exia_00_qant Feb 24 '20
Calling the function in jsx is perfectly valid