Dadamo
Dadamo
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
Thanks a LOT for your time, I think I understand enough to try and I will use your beautiful roblox-ts template as help. Have a good day!
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
yes I am
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
I was just mounting it in a simple script
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
ok I see, I think what I was thinking wrong is that I was dissociating the ui from a controller when mounting it, so that's why I was not understanding how to link both
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
maybe is there some open projects that work like that as examples?
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
yes but how does the provider gets this callback/data?
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
I understand this separation of responsibilities but I don't get how does the provider has for example the callback that go get the settings or the atom of settings
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
As I understood components are defined under App component generally, but so how would define callbacks or atoms that would interact with the rest of the system/program
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
so it would not be a good solution to define callback from a controller? Because I am still lost on what is defining which atom or callback are used in the component
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
ok I see
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
ok I didn't know about the concept of context in react, and so this context could be modify by a controller?
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
yeah I understand this workflow but I don't understand how does it gets it, because let's say the atom is from an object like GameData which means it needs to be injected to the component, how?
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
ok I understand this thanks i'll do that. But I still have something I don't understand, how do you give props callback or define atom to listen on if your gui is probably under a App component
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
is useAppSelector the hook that gets the data from the atom?
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
sorry I am understanding the logic but I can't imagine it in react, do you have any examples?
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
so a provider would still be a react component?
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
not for the moment but I am planning to
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
so I assumed it needs a controller looking on the react gui to ask the server....
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
let's you have a settings gui, so you must get them when opening it and there is buttons to change them. How can you bind logic to this button in the context of flamework and react
66 replies
Rroblox-ts
Created by Dadamo on 4/27/2025 in #help
Properly use Flamework with React
oh I think there is a confusion, I meant loading data on the gui like settings or anything else like just opening it
66 replies