fivo
09/15/2021, 11:45 AMstevekrouse
09/15/2021, 11:56 AMMartin
09/15/2021, 12:50 PMimport { realtime } from "./firebase"
saying // I implemented this using my project, Compose
that would help a lot.
β’ I found the first part of the video pretty long, before we got to the firebase/compose part. The whole video is pretty long (18 min!), I barely convinced myself to watch it (with a lot of speeding up). The buildup makes sense so I understand why it is so long, but if it would be possible to make that part shorter I would go for it. Maybe you could decide that video is aimed for people who already know turbine and then you can skip that intro. Or, maybe you could use React instead of turbine (could you though, or Compose makes sense only with Turbine?) and then aim it for people who know React and again, you can skip the whole part where we are building a component.
β’ So first I thought you used Compose to convert the firebase interface into a functional interface, but then I understood, when I watched that part again, that you actually built Composed on top of Firebase and firebase is really just an implementation detail that is not important? That was a bit confusing. I guess it could have been import { realtime } from "./compose"
? So realtime
is the function you implemented and is an interface of Compose?
β’ I get the idea of component containing the information about how it stores/pulls the data that is globally available and persistent, and that sounds pretty cool! Some questions that immediately emerge are though: what about the access control and secrets (like API keys), which is normally done on the server since it is under our control, while client code can be modified by anybody? What about collaboration between the components and sharing the data? I am guessing you will answer those in the future, just wanted to share what pops into the mind.
β’ I never saw Turbine before, and while it seems cool (I love functional, I use Haskell), it felt a bit complex compared to the React, probably because I know React, but maybe also because it is complex in its essence? Not sure, but if it was React, I believe I could focus more of my energy on the Compose itself. But again, I am not sure if you can make Compose work with React or not.
β’ At the end, it was left wondering what a Compose really is -> is it a kind of database that has nice TS SDK that is functional? Or is it something else?
I hope this feedback helps and excited to see the future progress!stevekrouse
09/15/2021, 12:57 PMMartin
09/15/2021, 1:14 PMstevekrouse
09/15/2021, 1:16 PMChris Knott
09/16/2021, 8:07 AMstevekrouse
09/16/2021, 8:13 AMDaniel Garcia
09/26/2021, 7:07 AMstevekrouse
09/26/2021, 7:16 AM