-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to import "fullpageApi" method from @fullpage/react-fullpage without the "render" method? #264
Comments
Can you use the window global object instead? |
No, window.fullpage_api is undefined. |
Any idea @cmswalker ? |
So can you help me? |
You can try creating a codesanbox with the reproduction. |
Hi @alvarotrigo , I'd like to share some experience about You can see my comments in codesandbox My experience is using
@ilya-maker May it help you. |
I am dealing with the same problem. Is there a solution for this? |
Just use |
I want set this method in state without render
Something like this.
import ReactFullpage, { fullpageApi } from "@fullpage/react-fullpage";
dispatch(setFullpageApi(fullpageApi))
The text was updated successfully, but these errors were encountered: