uptownhr / hackable

Personal site starter for NodeJS developers
http://hackable.penguin.ws
24 stars 10 forks source link

Project status? #120

Closed niallobrien closed 7 years ago

niallobrien commented 7 years ago

Hi, I know you mentioned that you want to move to Koa (I see the Koa branch), but there doesn't seem to be much activity there. I'm just wondering what the project status is?

Thanks in advance.

uptownhr commented 7 years ago

Hi Nial.

We did move towards koa but reverted back to express. My primary reason for the move to koa was due to the support or async, however this is not fully supported by koa itself. They are waiting on node.js to natively support async/await before switching over. So I am taking the same approach and waiting on native async/await support on node.

With that said, node v7 just released and async/await may be coming in shortly !

niallobrien commented 7 years ago

@uptownhr Sounds awesome. So does that mean that the Express version will be deprecated?

uptownhr commented 7 years ago

I am undecided at this point because once async is native, it would mean express will also be able to use this as well. outside of async, I'd have to weigh the value koa brings to the table vs express' abundant middleware and support.