Does CRA have any weird issues with rendering images?

I know I shouldnt even be using CRA, im moving off of it, so dont yell at me lol. But is rendering images a known issue that it has??
8 Replies
Cyclops3142
Cyclops3142OP3y ago
<img className="card__thumb" src={"https://i.vimeocdn.com/video/1542414609-971feed80a366fde8b1fdf247e18efc86759e1daf0844d4c79377376ed3c410f-d"} />
<img className="card__thumb" src={"https://i.vimeocdn.com/video/1542414609-971feed80a366fde8b1fdf247e18efc86759e1daf0844d4c79377376ed3c410f-d"} />
Im using a vimeo URL as the img src if that makes a difference Update: it always works in production mode, so I guess I’m much less worried about it now. But, still wouldn’t mind an explanation?? Or is it that CRA just sucks ass that bad?😂
Ember
Ember3y ago
are you referring to the last two cards having no images at all?
isaac_way
isaac_way3y ago
Not sure if this is CRAs fault or not , but yeah, CRA is not a good idea when Vite exists IMO. Just a much better dev experience
Cyclops3142
Cyclops3142OP3y ago
Yeah, they load eventually, at the time the card renders it does have the link for the thumbnail. So I’m just not sure why it struggles to get the images sometimes And the link for the thumbnails 100% exist, I’m logging them out even for those last 2 cards. And I can even click on them and the images show up instantly in another tab, so it’s not like the resource itself if not there or ready or whatever.
Ember
Ember3y ago
not sure off the top of my head... would need a minimal repro to check it out are the requests just pending forever for those images? do they fail outright and are retried later? etc
Cyclops3142
Cyclops3142OP3y ago
Well very annoyingly theyre working like a charm now😂😂 So not really sure lol Even in dev mode🤷🏻‍♂️
Ember
Ember3y ago
oh boy lolol don't ask questions 😄 but no seriously I'd wanna understand what happened... but if you can't reproduce it that's gonna be tricky let me know if it pops up again though kinda curious
Cyclops3142
Cyclops3142OP3y ago
ill keep coming back to it next couple of days, lol. Will keep ya posted lol Im gonna just blame CRA for now 😬😂

Did you find this page helpful?