Why are the javascript libraries distinct

Hi,
Typescript and javascript are used interchangeably (most of the code is typescript anyways)
Currently they are two client repositories for javascript :

What are the reasons for writing 2 libraries?
Which one has maintenance priority ?

Thanks in advance

I do not know exactly the official reason, but I can seek for it. However, I already have a little experience with these two repos. One communicates via gRPC and the other specifically via HTTP. So I believe that usability will depend on what the dev has in mind. Maybe that’s the reason.

I think it’s dgraph-js, but both are relatively equal in concept. Then they will be in sync.

1 Like

my guess is that grpc can only be supported using nodejs server side, while http can be supported via client javascript on browser. and i do not recommend that you use directly from browser side unless you have full trust to your users from browser end (including guest)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.