nippur72 / RiotTS

RiotJS for TypeScript
MIT License
101 stars 8 forks source link

server usage? #12

Open mgenev opened 8 years ago

mgenev commented 8 years ago

Hi, I'm scoping riot for usage at my company and this is so far the best way i've seen to construct riot tags, however, we need to render on the server and I'm not seeing any example of server support. Can this be done?

nippur72 commented 8 years ago

I'm not acquainted with server-side rendering, but I guess in theory it should be possible.

Do you have any example to look at?

mgenev commented 8 years ago

Here is a rather elaborate example which I found which accomplishes the whole "isomorphic/universal" javascript thing I'm after

https://github.com/ListnPlay/riot-isomorphic

You'll notice there's a tag factory which resembles what you have going in RiotTS, but it's less complete concept I believe.

daslicht commented 8 years ago

related : http://riotjs.com/guide/#server-side-rendering