livestore
reaktiv

livestore | reaktiv | |
---|---|---|
2 | 6 | |
2,592 | 286 | |
90.0% | 48.6% | |
9.8 | 9.4 | |
5 days ago | 5 days ago | |
TypeScript | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
livestore
-
LiveStore
Great questions!
> Handling compaction for long lived apps/pages?
That's a very common question and something I'm planning to ship a solution for soon. The basic idea is to give each event some more semantic "meaning" by annotating the event definition which allows you to express which events "semantically overlap". For example in a todo app you could express that the "todoCompleted" event for a given task id can compact other "todoCompleted" / "todoUncompleted" events for the same task id.
You can track the progress of this topic here: https://github.com/livestorejs/livestore/issues/254
> IMO events are nice, but also require discipline and good design w.r.t code
Yes, I agree with that. When it comes to data there is "no free lunch" - it's all about tradeoffs. I prefer the tradeoffs of event sourcing though for my own use cases such as Overtone.
That being said for many situations (like older client versions etc) there are pretty straightforward ways to address those concerns. Always depends on your application use case and possible tradeoffs though.
> Overtone looks sick. I've been using Spotify less and less because of janky UI and constant UI changes, would love a replacement. I see that it supports multiple sources, will it offer offline playback?
Very excited to hear! I'm sharing your frustrations which is why I'm building Overtone (next to many other reasons). Re "offline playback": That will depend on where your music is coming from. e.g. for your own music collection in Dropbox (or similar) it will be supported. For music streaming services like Spotify it will depend on their terms.
Hope that all makes sense?
reaktiv
-
LiveStore
Interesting to see Signal-based reactivity on the backend! I wrote a Signal library for Python [1] and was thinking about what could be done with it.
[1] https://github.com/buiapp/reaktiv
-
This Week In Python
reaktiv – Reactive Computation Graphs State Management for Python
-
When Frontend Reactivity Meets Backend Python: The Story of My First 1,000-Download Library
After years of building software for others, I decided to scratch my own itch and create something for the wider developer community. Today, I'm humbled to share that reaktiv, my first serious open source library, recently crossed 100 stars on GitHub and reached over 1,000 pip installs per month.
-
Signals in Python: How `reaktiv` Brings Feline Reflexes to Your Backend Code
reaktiv brings the elegance of frontend reactivity to Python backends. It's like having a well-trained cat that knows exactly when to pounce on changes and when to conserve energy.
- Reactive Signals for Python – inspired by Angular's reactivity model
- Signals Library in Python
What are some alternatives?
data - WarpDrive is a lightweight data library for web apps — universal, typed, reactive, and ready to scale.
autogenlib - Import wisdom, export code.
blocksuite - 🧩 Content editing tech stack for the web - BlockSuite is a toolkit for building editors and collaborative applications.
py-shiny - Shiny for Python
RxDB - A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
RxPY - ReactiveX for Python
