Setting shouldForwardProp using withConfig breaks SSR componentId
ithinkdancan opened this issue · 0 comments
ithinkdancan commented
I noticed that when i try and use the shouldforwardprop
method added in styled-components 5.1 it prevents this plugin from being able to add the componentId and displayName which is causing hydration errors when doing SSR. Is there way to merge the configs rather than just skipping over components using withConfig?