Backport fix for multiple differing components with the same `.name` (use a reference instead, but keep using .name to distribute cache into multiple buckets)
Backport fix for multiple differing components with the same `.name` (use a reference instead, but keep using .name to distribute cache into multiple buckets)

developit/preact,gogoyqj/preact,neeharv/preact,developit/preact,neeharv/preact,okmttdhr/preact-fork