Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use RelayJS and GraphQL without the ReactJS?

I'm trying to figure out if there is a way of using RelayJS and GraphQL without ReactJS. Im quite fond of how those three works in data management and at the same time, im looking forward on using the jeasyUI for the design of my web application. But the problem is jeasyUI doesnt really work well together with reactJS.

Im a newbie on this matter so please, please please, if you guys know any way on how to work on it. Enlighten me please. Any response regarding this would be highly appreciated. Thanks in advance.

like image 356
Jam Avatar asked Feb 06 '23 09:02

Jam


2 Answers

No, it's not possible to use Relay without React, but it's possible to use GraphQL without Relay.

Relay is just one of several GraphQL clients, there are others like Apollo client ( a client that supports React, Angular, React Native and any other frontend) and Lokka (a very simple client, without cache).

like image 67
helfer Avatar answered Feb 09 '23 00:02

helfer


At present facebook only support relay to be used with react or react native + GraphQL. But they are working on it to make it framework agnostic. You can try Apollo Client which is the best alternative for Relay out there and also has lots of cool features, if you want to choose different tech stack other than facebook's.

like image 40
jero2rome Avatar answered Feb 09 '23 00:02

jero2rome