MCPcopy Create free account
hub / github.com/react/react / setServerState

Function setServerState

fixtures/flight/src/ServerState.js:3–5  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

1let serverState = 'Hello World';
2
3export function setServerState(message) {
4 serverState = message;
5}
6
7export function getServerState() {
8 return serverState;

Callers 3

likeFunction · 0.90
greetFunction · 0.90
region.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected