From 69924e26e0dbe1d1c58f84333ee8b9206cabeae4 Mon Sep 17 00:00:00 2001 From: Wenhuan Li Date: Mon, 6 Sep 2021 09:41:08 -0700 Subject: [PATCH] Edit sandy-migration.mdx using inpage editor Summary: This diff has been automatically generated by the inpage editor. If you want to update this diff, go through the preview link that would be attached to the test plan. Please ensure you are editing the same page that was used to create this diff. Reviewed By: timur-valiev Differential Revision: D30767036 fbshipit-source-id: 8e828f9f6fb6a5590be428ed325418a62df55c4d --- docs/extending/sandy-migration.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/extending/sandy-migration.mdx b/docs/extending/sandy-migration.mdx index 55563aa85..3d6955ea5 100644 --- a/docs/extending/sandy-migration.mdx +++ b/docs/extending/sandy-migration.mdx @@ -92,6 +92,7 @@ This step is completed if the plugin follows the next `plugin` / `component` str Some abstractions that used to be (for example) static methods on `FlipperPlugin` are now exposed from the `client` object: | Old | New | +| --- | --- | | `persistedState` | Use `createState` and set the `persist` option | | `persistedStateReducer` | Create message handlers and update the state objects directly | | `exportPersistedState` | Use the `client.onExport` hook |