keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
Danny Almeida 2020-04-29T02:53:43.013100Z

Hi, I'm new to the keechma as well as clojurescript. I was going through the guides and came across entitydb for state management. I was wondering why entitydb instead of using something like datascript?

mihaelkonjevic 2020-04-29T20:04:21.022Z

@dionysius.almeida there are a few reasons: 1. We rarely have a whole dataset that we query on the front end, we usually load just what we need based on the route 2. We do a very small processing of data on the front end, we usually just put it in the app db and then just read it on the ui side. So, using datascript would add some complexity that we wouldn’t profit from because we don’t have a need for all the features that datascript gives you. What we do need is data normalization, and EDB is giving us that. We’re working on some improvements around EDB, but the core feature set will stay the same. We did use datascript in some cases, and it’s a great lib so if you like it, you can definitely use it with keechma. EDB is an optional lib

Danny Almeida 2020-04-29T21:27:54.024800Z

@mihaelkonjevic Thank you for your response. That makes sense. I thought it might be due to some technical reasons. I guess it only makes sense if we are loading entire datasets from the back end and then doing filtering etc on the front end, but then keep the data in-sync would be another added complexity.