Yomguithereal / baobab

JavaScript & TypeScript persistent and optionally immutable data tree with cursors.
MIT License
3.15k stars 115 forks source link

can baobab use in vueJs . just like react . #467

Open zodana opened 7 years ago

zodana commented 7 years ago

can baobab use in vueJs . just like react .

Yomguithereal commented 7 years ago

Hello @zodana. I don't know about that. I don't know enough about VueJS to tell you. However, doesn't VueJS has its own state management utilities? Else, I guess it wouldn't be too hard to create some plugin to bind Baobab data to VueJS.

zodana commented 7 years ago

yes 。 it's state management call vuex 。 but it's to hard to use . so I like baobab . because 。I think redux also too hard to use .

jatins commented 7 years ago

@zodana I don't thin baobab would make much sense in a vue app since in Vue, the data is already reactive, and anytime it changes, the view updates.

Yomguithereal commented 7 years ago

I don't know much about Vue but I think @jatins is right here. Vue seems to already deals with the reactive updates. But I don't know if Vue can have a centralized state easily and maybe that's the point here?