Editor hint to create/use shared state in a custom component (#13109). 

Change-Id: Id9a5af4abe7f2e330a952405c551cbb7e926dba2