Gazz
RReactiflux
•Created by Gazz on 6/20/2023 in #react-forum
React-Dragline
Hello,
I'm trying to add Drag & Drop to my website, using the react-dragline npm package
But I got an issue, all the DraggableChild given in the loop are working well (the blue squares), but the DraggableChild who's outside the loop (the red one), the drag events are not handled, I don't understand why
https://codesandbox.io/s/bold-morning-5jwxnd
10 replies
RReactiflux
•Created by Gazz on 3/28/2023 in #react-forum
@g-loot/react-tournament-brackets
hello, anybody used this npm package : https://www.npmjs.com/package/@g-loot/react-tournament-brackets, to make a bracket toornament with Lower and Upper bracket ?
I'd like to generate a JSON on the right format for this package, from an array of strings
I succeed to make a working code for a SingleElimination, but not for DoubleElimination
2 replies
RReactiflux
•Created by Gazz on 8/21/2022 in #react-forum
Can't set persist login
Hello,
I tried to implement Persistent Login, but when I refresh, I’m redirect on the login page, but if for example, I try to go back to the Dashboard, by typing it on the url, I’m logged in, the persist is working, I don’t understand my mistake, I’m actually using React-router v5
https://prnt.sc/8WYKaIk7OY6j
https://prnt.sc/jAS5mjvIBDvs
I handle the persistlogin.js file like that because on react-router v5 we don't have Outlet
https://prnt.sc/Ij5SdFlxdDUc
My index.js file is like that
https://prnt.sc/k0bazsDB8_08
Thanks for reading,
3 replies