These are chat archives for ThoughtWorksInc/Binding.scala

28th
Nov 2018
Leonid Turnaev
@glmars
Nov 28 2018 02:04
Integration with what? We didn't use diode with Binding.scala, before we switched to Binding.scala completely our stack was diode+scalajs-react.
Leonid Turnaev
@glmars
Nov 28 2018 02:12
@mcku "i have tried what you have suggested some time ago, and did not work" Are you sure what problem was in initialization and not in missing watch/render/bind or something like this? In our case initialization after creation works well with https://getmdl.io/ and https://materializecss.com
杨博 (Yang Bo)
@Atry
Nov 28 2018 08:56
@mcku Your example for translation is impressive!
JohnZorn
@nakedcity
Nov 28 2018 18:58
@glmars do you have an example of your current setup? I want to see how is your architecture specially for Vos
JohnZorn
@nakedcity
Nov 28 2018 19:09
Do you guys know some project like storybook or cosmos that you can easily plug-in with Binding-scala
Leonid Turnaev
@glmars
Nov 28 2018 19:15
Sorry, I couldn't post a full project. Could you ask something more concrete? Which aspect are you interested in? What does "Vos" mean?
JohnZorn
@nakedcity
Nov 28 2018 19:15
Value Objects
I still find really handy Leonid to have one state than a bunch of objects across the app
but maybe I’m not seeing clear the approach that you have
for example in this example
data has to be passed which I dont think it’s easy to manage in big projects
Leonid Turnaev
@glmars
Nov 28 2018 19:21
Before Redux like comes in, there was a lot of projects without single state and without any problems :smirk: For example on desktop.
JohnZorn
@nakedcity
Nov 28 2018 19:22
I have been working in programing for 20 years I know that but that no changes the fact that the pattern of having a store where you can select just partitions is more manageble than having to control a bunch of raw objects which as you mention was the main cause in the past of memory leaks
Leonid Turnaev
@glmars
Nov 28 2018 19:37
Hmm I said nothing about memory leaks. In my opinion, if I have a problem, I will try to find a solution, but I don't have a problem with state about 20 years of my programming career :smile: If you have a problem you can try a single state paradigm of course :smirk:
JohnZorn
@nakedcity
Nov 28 2018 19:38
Hahaha nice answer thanks for all the input :)
I get back to my atari now since that one was also working fine :)
Leonid Turnaev
@glmars
Nov 28 2018 19:44
Nice joke :smile: :+1: