File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -121,10 +121,13 @@ fora0: cant pass props from client component to child server component - slot (a
121
121
fora1 : margin collapsing disabled in flex , grid , mdx container
122
122
fora2 : client component size must be set in server component to prevent layout shift (flex or height and max - height )
123
123
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
124
125
--------
125
126
must pass widths i sizes u getImage () za responsivne slike
126
127
eventi ne moze na < img / > ali moze na < div / > okolo , <Image /> ide u slot // no scroll transition, no blur preloader
127
128
bolje props od getImage ()
129
+ ---- -
130
+ must use < img / > tag for srcset and sizes to be in dom instead of const img = new Image ();
128
131
```
129
132
130
133
You can’t perform that action at this time.
0 commit comments