pixi-flex-layout icon indicating copy to clipboard operation
pixi-flex-layout copied to clipboard

Is documentation outdated?

Open xzilja opened this issue 3 years ago • 2 comments

I've installed "pixi-flex-layout": "0.1.1" and tried to initialise the layout, however got errors saying

Module '"pixi-flex-layout"' has no exported member 'yogaSetRenderer'. Module '"pixi-flex-layout"' has no exported member 'initializeYogaLayout'.

Upon diving into source code, I saw that the only exported members are AsanaFlex and AsanaGrid i.e.

import { AsanaFlex } from "./AsanaFlex";
import { AsanaGrid } from "./AsanaGrid";
export { AsanaFlex, AsanaGrid };

I thought I might've installed a wrong package, but it resolved to https://yarnpkg.com/package/pixi-flex-layout which seems to be correct?

xzilja avatar Apr 03 '21 07:04 xzilja

Ah, I assume this library is getting deprecated in favour of https://github.com/fireveined/pixi-layout and your new asana-layout project (looks like it somehow got mixed into npm package for this library)?

I'd love to help / test drive asana one if it is in usable state 👍 I've currently got my own basic layout implementation, that's far away from what flex api offers, so am looking for an alternative.

xzilja avatar Apr 03 '21 07:04 xzilja

Today(2022) I have the same problem. It appear that the version in npm website is totally different from that. But, the developer appears doesn't realize that yet. Is anybody there?

ambastos avatar Nov 17 '22 02:11 ambastos