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

Function initFbt

compiler/packages/snap/src/sprout/shared-runtime.ts:39–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37export const CONST_FALSE = false;
38
39export function initFbt(): void {
40 const viewerContext: IntlViewerContext = {
41 GENDER: IntlVariations.GENDER_UNKNOWN,
42 locale: 'en_US',
43 };
44
45 init({
46 translations: {},
47 hooks: {
48 getViewerContext: () => viewerContext,
49 },
50 });
51}
52
53export function mutate(arg: any): void {
54 // don't mutate primitive

Callers 1

evaluator.tsFile · 0.90

Calls 1

initFunction · 0.50

Tested by

no test coverage detected