RubySpeeders / Drum-Roulette

https://drum-roulette.vercel.app
3 stars 3 forks source link

DR-132-bug-FE-React-warning-image-preloading #132

Open RubySpeeders opened 1 year ago

RubySpeeders commented 1 year ago

BUG TEMPLATE

Environment

Steps to Reproduce

  1. navigate to the selection page
  2. open the chrome devtools.
  3. observe all warnings

Expected Behavior

Expect to see no warnings

Actual Behavior

There are warnings from ReactDOM about image preloading

Screenshots or Error Messages

Additional Information

This warning applies only to the musician images fetched from AWS Lambda, not the hard-coded instrument image URLs. One thought: could this possibly have to do with our expired Lambda certificate?

To confirm that it is only an issue with Lambda-obtained image data, hard code any image URL in place of the musician image and see the warnings magically disappear.

RubySpeeders commented 1 year ago

@charlottekies to possibly write a script to renew free certificate every 3 months.

RubySpeeders commented 1 year ago

Pulling this back into the backlog for now. Next.js may come out with something to fix this warning soon, and I don't think we should spend time on this warning for now.