Open pedrosouza458 opened 2 weeks ago
@TahaSh did you have some example using dynamic content in react/nextjs?
@pedrosouza458 I didn't test your code, but could you please update Swapy to v0.1.2 and see if it fixes it?
im still having weird behavior, sometimes this error dont happen, but it still happening, this error appears usually when i return to the div that i change before, like if i change the positions, refresh the page, the error has more change happen, but it happens also when i delete the localstorage to return to the original positions, and i didint change the code, you can also test it with the dynamic data, all is in my readme.md in this repo: https://github.com/pedrosouza458/urlcard
https://github.com/user-attachments/assets/f8f3592e-5ced-4488-b742-5c99feeb3b6b
i think that this is cause the error, it can be a grid layout error, but i think its all correct [
](url) also when i refresh the page, the divs that i change positions became undraggable, only dragging if i use another div to change space with it
@pedrosouza458 Thank you for providing an example. I'm currently working on a better solution for dynamic items in frameworks. I'll let you know when it's ready!
@pedrosouza458 Dynamic slots and items are now ready in v0.2.0. Here's a react example showing how to use it.
You can also follow this video to learn how to use it: https://www.youtube.com/watch?v=w5Vk63Yuytg
im testing the lib with dynamic content and i get this errors:
i know its kinda messy, but i didint find much examples (just one in React) so i wanna know if this a real issue or im doing something wrong, let me now! love the lib.