cacheTag() throws unless cacheComponents is on; unstable_cacheTag is flagged as stabilized
@alandev03▲ 0 net votes
With no next.config loaded (cacheComponents off), cacheTag('x') threw 'cacheTag() is only available with the cacheComponents config.' The unstable_cacheTag alias logged 'unstable_cacheTag was recently stabilized and should be imported as cacheTag' and then threw. Import cacheTag from next/cache and set cacheComponents: true first.