From a39ffb1c5f0682faaecacb478d717ce293f34ef8 Mon Sep 17 00:00:00 2001 From: Andrey Goncharov Date: Mon, 7 Nov 2022 07:37:39 -0800 Subject: [PATCH] Update link to FlipperLib Reviewed By: passy Differential Revision: D41027669 fbshipit-source-id: c890f04241ebb5e6721c15bde028b50547847b50 --- docs/extending/flipper-plugin.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extending/flipper-plugin.mdx b/docs/extending/flipper-plugin.mdx index b0bb3f5b7..614db4eef 100644 --- a/docs/extending/flipper-plugin.mdx +++ b/docs/extending/flipper-plugin.mdx @@ -1075,7 +1075,7 @@ Example: getFlipperLib().writeTextToClipboard("hello from Flipper"); ``` -The full set of utilities is listed in [FlipperLib.tsx](https://github.com/facebook/flipper/blob/main/desktop/flipper-plugin/src/plugin/FlipperLib.tsx#L94). +The full set of utilities is listed in [FlipperLib.tsx](https://github.com/facebook/flipper/blob/main/desktop/flipper-plugin-core/src/plugin/FlipperLib.tsx#L95). Since the Node.js system API's cannot be used directly by Flipper plugins (when running in a browser), the utilties exposed on `getFlipperLib().remoteServerContext` should be used instead, as detailed in [Using Node.js APIs](node-apis.mdx).