I just found out about a next.js RFC for a new Image component.
The RFC is authored by Google engineers with the goal to improve core metrics for next.js based websites. I had a look at the RFC and I feel that it might be difficult to properly leverage the proposed API with prismic. For example the current rfc seems to assume that sizes would be computed based on breakpoints but in my understanding srcset sizes are defined in prismic custom document types, I’m not sure if we can use the prismic image cdn with sizes outside the ones defined in document types …
Also maybe it’s because of how we use prismic today, so I’m curious what others here think and if the prismic team is aware of the proposal