ed4d009841
* remove the experimental web vital hook api * remove the exported flush effects api and only error on development, keep only usage to styled-jsx for web vital hook API: The usage is not widly adopted since the existing exported vital api could do the same work. In the future we'll deprecate the `_app.server` in favor of `_app` in server component pages. so that this api won't be required. for flush effects api: other css-in-js libs are not using the same approach like styled-jsx which holding a style registry and could flush it during streaming. emotion-js and styled-components are still relying on `Document.getInitialProps` atm and we have supported it in latest canary
1 line
70 B
TypeScript
1 line
70 B
TypeScript
export { useRefreshRoot as unstable_useRefreshRoot } from './refresh'
|