dat-gui is no longer maintained, and hasn’t been updated in two years. A few options that are very similar, but still updated, would be:
lil-gui is basically a drop-in replacement for dat-gui, so that’s the easiest upgrade. Leva’s similar but specialized for React. Tweakpane has a good plugin ecosystem if you need more UI options. All good choices in my opinion.