don't set data on every render, only when data actually changes