Open Dkhusainov opened 3 years ago
Hey @Dkhusainov, apologies for the inconvenience! The page you're linking to is deprecated, but the up to date tutorial is here: https://fbflipper.com/docs/tutorial/js-table, with the full options documented here:
https://fbflipper.com/docs/extending/flipper-plugin#createtableplugin. Note that imports come from flipper-plugin
, not flipper
in the updated tutorials / APIs.
Reverting to 0.94.1
version fixed the problem form me without doing anything else. Old implementation of table plugin not working on latest version of Flipper is an intended change?
Correct, we deprecated the API a few months ago and there didn't seem to be any public users at that moment.
On Thu, Jul 22, 2021 at 9:17 AM Dkhusainov @.***> wrote:
Reverting to 0.94.1 version fixed the problem form me without doing anything else. Old implementation of table plugin not working on latest version of Flipper is an intended change?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/facebook/flipper/issues/2611#issuecomment-884734803, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4NBDOEXZZ4TO3QNEXVV3TY7HYJANCNFSM5AZHTB4A .
We were using createTablePlugin
internally (can't publish a plugin for external use that is internally use case specific). I'm looking at trying to upgrade to this new plugin architecture, but the docs are really confusing at this point.
This page (in Deprecated APIs) notes,
The following mechanism isn't supported yet by the Sandy plugin architecture. Please remove
flipper-plugin
from the plugin dependencies if you want to usecreateTablePlugin
.
While the main tutorial mentions the same API:
import {DataTableColumn, createTablePlugin} from 'flipper-plugin';
I realize these are importing from different dependencies, but--and I'll admit I'm a newbie to React/JSX stuff--it seems like neither works as expected, whether I add or remove flipper-plugin from peerDependencies
as mentioned in Migrating a plugin to Sandy
Create table plugin has been updated and can be found here: https://fbflipper.com/docs/extending/flipper-plugin/#createtableplugin
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.
🐛 Bug Report
To Reproduce
flipper-pkg init
to bootstrap the pluginflipper-plugin
frompackage.json
Environment
Flipper: 0.98.0