将 GraphQL 与 React 结合使用比将 GraphQL 与 Vue/Ember/Angular 结合使用有什么好处吗?
Are there any benefits to using GraphQL with React over using GraphQL with Vue/Ember/Angular?
由于 GraphQL 是由 Facebook 开发的,而 React 也是由 Facebook 开发的,我想知道将这两者结合使用与使用不同的 javascript 框架(如 Vue/Angular/Ember 相比是否有任何好处?
在 GraphQL 文档中有它的定义:
GraphQL is a query language for your API, and a server-side runtime for executing queries by using a type system you define for your data. GraphQL isn't tied to any specific database or storage engine and is instead backed by your existing code and data.
首先,GraphQL 不是一种技术,而是一种查询语言。
其次,它是在后端实现的,因此不会影响前端。
所以 BE 上的 FE 框架没有区别。
由于 GraphQL 是由 Facebook 开发的,而 React 也是由 Facebook 开发的,我想知道将这两者结合使用与使用不同的 javascript 框架(如 Vue/Angular/Ember 相比是否有任何好处?
在 GraphQL 文档中有它的定义:
GraphQL is a query language for your API, and a server-side runtime for executing queries by using a type system you define for your data. GraphQL isn't tied to any specific database or storage engine and is instead backed by your existing code and data.
首先,GraphQL 不是一种技术,而是一种查询语言。 其次,它是在后端实现的,因此不会影响前端。
所以 BE 上的 FE 框架没有区别。