-
Notifications
You must be signed in to change notification settings - Fork 486
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
React hooks #41
Comments
Hey! Glad you're enjoying it :) I didn't write the react hooks lib but I'll gladly take a look if you can provide an example! |
Ahhh, hooks are a native react implementation! Lemme double check if it's also breaking using React classes and I'll report back ASAP :) If not then, I'll leave an example here for how to replicate the scenario! |
How did u get on? |
hey! so sorry, got caught up with work work. But here are some findings! React version 16.8.6 Findings:
I'm double checking on a code sandbox to see if it's consistent too! One moment Edit: Basically, there are two types of setups:
I'll be diving deeper later but this is all I have for now! |
@AndrewThian, if you move the @alexfoxy, a pull request was opened on my library, |
You should only call |
@alexfoxy, nothing changed in |
Check out this sandbox with |
It is because in previous versions lax would look for components with attribute names to populate elements e.g. |
ahhhhhh, totally my bad. Didn't read the README well enough! Thanks so much for explaining @alexfoxy really helped out a lot. You're right, I think just shifting the May I suggest a update in documentation for those using React hooks and migrating from 1.1.x to 1.2.x? :) Thanks again! |
I see, thanks for the explanation. |
Loving the library man! Keep it up :D super intuitive and yet customizable.
Been using 1.1.0 with React hooks and it was great! Just updated to 1.2.3 and something broke. Lax is still firing the update on scroll change but for some reason, the listening element is not reflecting the change.
React version: 16.8.6;
Currently out and on a mobile device, but would gladly give more information if you need!
The text was updated successfully, but these errors were encountered: