[dynamicio] Instrument Date to be dynamic when accessing current time (#70916)
Date can be considered IO when it infers the current time when using `new Date()` or `Date.now()`. Both of these are queries to the computer clock and while they are synchronous they are semantically IO. When `dyanmicIO` is enabled these APIs should be treated like other IO and be excluded from prerenders unless explicitly cached
Showing
Please
register
or
sign in
to comment