Skip to content

Commit f25f4dc

Browse files
committed
todo
1 parent f4cd10e commit f25f4dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/working-notes/todo4.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,13 @@ fora0: cant pass props from client component to child server component - slot (a
121121
fora1: margin collapsing disabled in flex, grid, mdx container
122122
fora2: client component size must be set in server component to prevent layout shift (flex or height and max-height)
123123
fora3: px suffix for style={{width, height}} in react
124+
fora4: srcset sizes, sirina koju slika zauzima je vazna (2 kolone collapse npr. i margine), a ne ekran
124125
--------
125126
must pass widths i sizes u getImage() za responsivne slike
126127
eventi ne moze na <img /> ali moze na <div /> okolo, <Image /> ide u slot // no scroll transition, no blur preloader
127128
bolje props od getImage()
129+
-----
130+
must use <img /> tag for srcset and sizes to be in dom instead of const img = new Image();
128131
```
129132

130133

0 commit comments

Comments
 (0)