RootCauseunvalidated
Creating the Movie component per list item means useMutation is executed for each rendered Movie instance, which may feel inefficient but is functionally correct because each mutation needs the movie context (e.g., movie.id). The real concern is reuse/duplication of mutation logic across components/pages.
a38532da-d382-4d35-9d1b-8376abf0e92e
Creating the Movie component per list item means useMutation is executed for each rendered Movie instance, which may feel inefficient but is functionally correct because each mutation needs the movie context (e.g., movie.id). The real concern is reuse/duplication of mutation logic across components/pages.