Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
let
serverState =
'Hello World'
;
2
3
export
function
setServerState(message) {
4
serverState = message;
5
}
6
7
export
function
getServerState() {
8
return
serverState;
Callers
3
like
Function · 0.90
greet
Function · 0.90
region.js
File · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected