Server or Device static IP address

I have a bunch of devices that are all connected to home Assistant. I can create static ip’s for these devices on the device themselves. Eg a camera.

However, my router also has the option to create static ip’s.

Is there inherently a better method of using one over the other?

Thanks.

I’d prefer the router.
Configure the IP’s in one place and no need to touch the devices.

In my opinion is better that you set your router to set static IPs for those devices that you need to rely on their IP.
For occasional guests you may leave to use the DHCP.