What is the recommended replacement for `@deriving(jsConverter)`

@deriving(jsConverter) has been deprecated for quite some time, but I have found hard to stop using it, especially the tFromJs when validating input that cannot be trusted to be correct.

What is the proposed alternative to FromJs? A hand written string => option<t> function?

My use case is basically always enums like:

@deriving(jsConverter)
type status = 
    | @as("draft") Draft
    | @as("in-progress") InProgress
    | @as("done") Done