RFC: Intentions for TinyBase v6 #220
jamesgpearce
started this conversation in
General
Replies: 2 comments 1 reply
-
This sounds reasonable. I think upgrading to React 19 is a very good idea. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks, sounds great! Btw, I just wanted to add that I really support the effort of making tinybase lean and small. I think perfecting the current sets of features and trimming down things are much more preferable over adding “nice-to-have” features. |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Hey everyone! Here's what I'm thinking about for v6.0:
No new functionality.
Rather than a seismic change to everything that makes upgrades harder, my suggestion is to just use v6.0 as a stable base from which we can start adding new stuff again. It will have four main changes:
react
peer dependencies to v19eslint
dev dependency to v9Migrate the build scripts to// insufficient database compatbun
tools
module & CLIHopefully the first two are not too controversial. The third & fourth I think will improve the development metabolism (for me at least!)
But a word on the final item. The
tools
module was the original way to create typed APIs, with a code-mod that creates new ORM-like files based on schemas (details here). The TinyBase CLI is the main way to invoke this module.Instead, I want everyone to use the Typescript-inference technique for schema support (details here). This is a much smarter and more consistent way to type your API.
My rationale for removing the
tools
module is three-fold:tools
module will slow that down dramatically.Consider this discussion as a request for comments! Are you using the tools module? Would you miss it? If so, what can we do? Spin the current module out? Or any other thoughts.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions