当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - JS Boilerplate for Server has client.tsx

问题描述:

I need to get into Web development and am currently looking at Node.js using React and Redux. As I come from a .NET Background, I'd like to have TypeScript, so my choice for a boilerplate was limited. I found this one:

https://github.com/barbar/vortigern

This boilerplate has got a client.tsx and a server.tsx. I don't understand what the point of the client is. I mean, this is meant for developing a frontend, right? There is only need for a server, what's the purpose of the client? I just can't find out. In the webpack config, there are two files for the server and the client, but I couldn't find out when which one is called.

I hope someone can explain the purpose of this client to me! Thank you very much in advance!

分享给朋友:
您可能感兴趣的文章:
随机阅读: