defonce on defcomponent based on type resolution of symbol