Login
Remember
Register
References
Ranks
Add reference
Recent reference and example in React
0
votes
0
example
228
views
JSX - loop for list
added
Sep 30, 2025
in
React
by
lcjr
Lieutenant
(
12,520
points)
loop
list
0
votes
0
example
350
views
React - capitalise on string
added
Aug 26, 2025
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
string
capitalise
0
votes
0
example
355
views
React - tracking prop between components for API keys
added
Jul 23, 2025
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
cookie
api
0
votes
0
example
263
views
React - Add class to tab. based on data
added
Nov 12, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
conditional
data
0
votes
0
example
271
views
React - using vars in JSX
added
Jul 2, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
variables
0
votes
0
example
433
views
React - rendering pagination numbers with ellipsis (with JSON data)
added
May 16, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
json
fetch
pagination
0
votes
0
example
339
views
React - passing and receiving value between 2 components
added
May 7, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
conditional
0
votes
0
example
492
views
React - anchor link for onClick() with accurate offset position
added
Apr 22, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
onclick
button
0
votes
0
example
405
views
React - JSX conditional rendering for 2 or 1 scenario
added
Apr 22, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
conditional
hideshow
jsx
0
votes
0
example
393
views
React - simplify same vars for code maintainability
added
Apr 4, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
conditional
ternary_operator
0
votes
2
example
1,423
views
React - simplify conditional rendering with dynamic ternary operator on JSX
responded
Apr 4, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
conditional
react
ternary_operator
jsx
0
votes
0
example
424
views
React - conditional rendering of functions and JSX
added
Apr 4, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
jsx
conditional
0
votes
1
example
1,031
views
React - conditional rendering for JSX
responded
Apr 3, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
conditional
0
votes
0
example
720
views
React - pricing conditional rendering with ternary operator
added
Apr 3, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
ternary
conditional
operator
0
votes
0
example
404
views
React - combine conditions in JSX with logical operators
added
Apr 3, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
combine
0
votes
0
example
442
views
React - Swiper conditional rendering based on screen size
added
Mar 26, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
conditional
breakpoint
screen
swiper
0
votes
0
example
356
views
React - passing props for function base react component
added
Mar 21, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
props
function
child
parent
0
votes
0
example
351
views
React - Typewriter effect in the loop item
added
Mar 19, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
typewriter
effect
useref
json
api
0
votes
0
example
350
views
React - API conditional rendering when data has issues
added
Mar 19, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
condition
api
0
votes
0
example
330
views
React - useRef and useEffect hooks for scrolling the last item of the loop to be visible
added
Mar 18, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
useref
useeffect
hook
0
votes
1
example
1,128
views
React - character counter in real time with a max limit
responded
Mar 18, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
usestate
react
character
0
votes
1
example
929
views
React - map and store search texts from cookies
responded
Mar 14, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
cookie
map
loop
0
votes
1
example
1,071
views
React - conditional rendering text
responded
Feb 15, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
conditional
react
condition
0
votes
1
example
1,119
views
React - loop example
responded
Jan 31, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
loop
0
votes
2
example
1,204
views
React emotion - CSS class execution in emotion
responded
Jan 29, 2024
in
React
by
lcjr
Lieutenant
(
12,520
points)
css
react
condition
emotion
0
votes
13
example
2,639
views
React - conditional rendering
responded
Mar 23, 2023
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
js
conditional
condition
0
votes
2
example
1,182
views
react - condition examples
responded
Sep 28, 2022
in
React
by
lcjr
Lieutenant
(
12,520
points)
condition
react
conditional
0
votes
1
example
910
views
React - toggle condition with hooks (change class upon click)
responded
Aug 24, 2022
in
React
by
lcjr
Lieutenant
(
12,520
points)
react
props
hook
condition
toggle
0
votes
1
example
912
views
React - emotion props, CSS condition with props.theme
responded
Jul 21, 2021
in
React
by
lcjr
Lieutenant
(
12,520
points)
condition
emotion
css
props
react
0
votes
1
example
1,122
views
React - ternary operator for variable (and with backtick)
responded
Apr 21, 2021
in
React
by
lcjr
Lieutenant
(
12,520
points)
condition
ternary
operator
variable
To see more, click for all the
reference in this category
.
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
All categories
API
(39)
React
(152)
Javascript
(102)
Next JS
(11)
jQuery
(176)
CSS
(147)
SCSS
(25)
UI design
(1)
Vue
(25)
JSX
(14)
ES6
(8)
Regex
(6)
PHP
(62)
mySQL
(9)
Drupal
(15)
Bootstrap
(22)
Repository
(43)
Software & tools
(38)
Google tools
(31)
Plugins
(13)
Gulp
(9)
NPM
(9)
Node JS
(7)
CMS
(9)
Command-line
(7)
Database
(3)
Domain & hosting
(16)
Elixir
(1)
HTML
(23)
Networking
(4)
Python
(0)
Server issues
(13)
VM & Remote desktop
(2)
VSCode
(7)
Windows
(11)
XSLT
(5)
General
(868)
...