🇨🇭 / 🇫🇷

NXT deutsch
12 followers
2 Video Views·Sep 23, 2023
If I can't manage it anymore, I'll close it.
I have a question here.
Do you know the state management in Yotai?
Yotai?
The new version, right?
No, I don't use it.
Yotai is the state management.
It's also a type of state management like Redux and Rustan.
You're talking about this one, right?
Yotai, I've never heard of it.
No, Rustan is the one I'm using, right?
I've installed it, but Yotai...
I don't know about Yotai, I haven't used it at all.
I've just moved to a company that uses Yotai.
Send me the link, I'll check it out.
I don't know much about it, I'm just asking.
I just texted you the name.
Oh, Yotai.
I heard that Rustan is similar to Redux.
What about Yotai?
Redux is very simple.
Rustan is very flexible.
For example, in Redux, you can only use...
If you want to do something, you have to use a dispatch.
To dispatch, you have to have an action.
First, you have to have a dispatch, then you have to have an action.
Dispatch and action are the main steps in the store.
When you have Yotai, you have to go to Saga.
For Yotai, you can update anywhere.
You don't need to dispatch.
You use it in a normal line.
You don't need to...
You have Redux lines, right?
The hooks, the user effects, the components hooks.
Redux can only be used in those.
It can't be used in normal functions.
For example, in normal functions.
So it has a disadvantage.
In Rustan, you can use it anywhere.
In normal functions, you can update, get, get, get.
It's flexible.
It's like water.
It's like water, it can overflow.
Do you know the Recoil of Facebook?
Recoil used to have a custom file, but it's been a long time.
I don't know how to use it.
I used to use Recoil.
But Recoil doesn't have much power.
Finally, I chose Rustan because it's easy.
For example, Rustan.
Here, for example, I said in the video player.
In this video player,
I have a file to create an event.
Event for players.
I create an event in here.
It's easy to manage.
Create, Dispose, On, Off.
It's convenient to manage.
But if you want to use the items in here.
You need to have the data of the players here.
Here, you can use it.
So now, the old code can't support Rustan.
You have to write it like this.
For example, when the data changes, you have to pass it here.
Pass it here, then pass it here.
Pass it here, then these guys.
These guys.
That's how you use it.
If you use Rustan, you'll delete it later.
You don't need it at all.
You can see here.
User Video Player Spore.
You can get it.
I can get it anywhere.
I don't have to pass it.
I don't have to pass it here.
I want to.
For example, in here.
This is the Spore in the player.
For example, I want to get the.
oh
foreign
I know, the new code of the redux, I know a lot of codes,
for example, table, action, selector,
for example, table, action, then saga,
20 kilobytes 20 kilobytes
I have more than 180 tickets
2 tickets is quite a lot
10% more than 10%
Thank you
Anything else?
No, I'm out of tickets
Ok
