Setting a property as deprecated - What's best practice?

Is there any support in the Dash framework for marking a component property as deprecated? Ideally what I am am looking for is something wher eyou can use the PropTypes and mark a prop as deprecated, and then when it is used in a callback in Python (and I suppose R and Julia) there would be a little deprecation warning message.

Does something exist to support this? If there isn’t a built in mechanism what is the best practice, just note it in the comments?

2 Likes