Skip to content

Conversation

@aboodman
Copy link
Contributor

I'm not sure getting them through v10 of Replicache was doing the right thing. When I install replicache-react and replicache v12 together in an app, I only see one version of replicache, v12. And replicache-react doesn't re-include the required types in its own .d.ts file. So unless tsc is being very fancy (which, I dunno, maybe it is) and getting the old version of replicache behind the scenes somehow, then I think this is using the wrong types.

Anyway, this is more direct way to do what was meant.

I'm not sure getting them through v10 of Replicache
was doing the right thing. When I install replicache-react and
replicache v12 together in an app, I only see one version of
replicache, v12. And replicache-react doesn't re-include the
required types in its own .d.ts file. So unless tsc is being
very fancy (which, I dunno, maybe it is) and getting the old
version of replicache behind the scenes somehow, then I think
this is using the wrong types.

Anyway, this is more direct way to do what was meant.
@aboodman aboodman marked this pull request as draft November 17, 2022 11:11
@arv
Copy link
Contributor

arv commented Nov 17, 2022

I like this. This looks like it should work.

@arv
Copy link
Contributor

arv commented Nov 22, 2022

Let's do this instead of #40

We can now remove the replicache deps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants