MCPcopy
hub / github.com/facebook/react / onHeaders

Function onHeaders

packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js:3708–3710  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

3706 it('provides headers after initial work if onHeaders option used', async () => {
3707 let headers = null;
3708 function onHeaders(x) {
3709 headers = x;
3710 }
3711
3712 function Preloads() {
3713 ReactDOM.preload('font2', {as: 'font'});

Callers 8

emitEarlyPreloadsFunction · 0.50
renderToReadableStreamFunction · 0.50
prerenderFunction · 0.50
prerenderFunction · 0.50
renderToReadableStreamFunction · 0.50
renderToReadableStreamFunction · 0.50
prerenderFunction · 0.50
renderToReadableStreamFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected