I was looking at the documentation and found this
This class was deprecated in API level P.
Why are fragments deprecated in android
Support Library Fragments are here to stay. Google encourages you to use the Support Library versions to get consistent behavior across all API levels, backported bug fixes, and Lifecycle and ViewModel support.
Old Reference Link(Dead)
New Reference Link