5

刚起步的 Web 项目(后端 Go),打算用 React 替换 jQuery,要不要上 TypeScript

 3 years ago
source link: https://www.v2ex.com/t/784774
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Go

刚起步的 Web 项目(后端 Go),打算用 React 替换 jQuery,要不要上 TypeScript

  smilingsun · 20 小时 48 分钟前 · 1738 次点击

本身是一个 DevOps 用的 Web 项目,当初搭建项目的同事为了 PoC 快,就 jQuery+Boostrap 了。后端框架 Gin,用 go 模版渲染 html,但是前后端交互是 RESTful API 。

现在为了前端做起来方便,他们打算用 React + 现成的组件库比如 Ant Design,上周五讨论了一下,做这个项目的同事们都表示同意。

不过,要不要上 TypeScript 呢? 写 Go 的同学们,你们写前端没有类型难不难受?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK