Сделали компоненты с useEffect и useLayoutEffect

This commit is contained in:
2026-04-30 20:32:26 +03:00
parent b8e88a4866
commit 7e1c4bb2e2
3 changed files with 119 additions and 3 deletions
+25
View File
@@ -0,0 +1,25 @@
{
"products": [
{
"id":1,
"name":"Sneakers Red & White 2025",
"brand":"NIKE",
"price":38.0,
"imageUrl":"./assets/images/sneakers-image.jpg"
},
{
"id":2,
"name":"Sneakers Red & White 2025",
"brand":"NIKE",
"price":40.0,
"imageUrl":"./assets/images/sneakers-image.jpg"
},
{
"id":3,
"name":"Sneakers Red & White 2025",
"brand":"NIKE",
"price":46.0,
"imageUrl":"./assets/images/sneakers-image.jpg"
}
]
}