gre / gl-react

gl-react – React library to write and compose WebGL shaders

Home Page:https://gl-react-cookbook.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[gl-react-expo@3.6.0] TypeError: loader.getSize is not a function

serhiipalash opened this issue · comments

I get error TypeError: loader.getSize is not a function with latest gl-react-expo@3.6.0, but with gl-react-expo@3.13.0 all works fine.

library version

screen shot 2017-09-08 at 15 59 43

bug report

screen shot 2017-09-08 at 15 50 26

Expected behavior

Works with gl-react-expo@3.13.0

screen shot 2017-09-08 at 15 51 52

Steps to reproduce the behavior

Clone this repo and open in Expo XDE

https://github.com/serhiipalash/opengl-test

I get error TypeError: loader.getSize is not a function with latest gl-react-expo@3.6.0

as this v3 is still in alpha, assume breaking changes across different version, for gl-react@3.13.0 please use gl-react-expo@3.13.0

the issue is more because of this:

npm dist-tag ls gl-react-expo
latest: 3.6.0
next: 3.13.0

I should never have published such a "latest" as the current v3 should be considered on "next" and gl-react-expo@latest shouldn't have existed. sorry for that

NP. Thanks! You have a great library!