SN74LVC1G97: D Latch

Part Number: SN74LVC1G97

Tool/software:

1G97 can be configured as a selector.

Connect output Y to input A and use input B as the D (data) input.

I think that when 'H' is input to selector A#/B, 1G97 becomes a D latch circuit that latches input B.

Is there any problem with using it like this?