Open iamzjohn opened 5 years ago
Hi Adelino. You can use Typescript and ES6, ES7. As long as you make sure that in the end, the ES5 to be generated is correctly using the Hi-Framework API. What is stopping you?
My first problem in all this is the package management for the frontend I could just use npm scripts or an task runner and some basic config to compile TS to ES5, the think is I suggest having in then view template Hi.view
or globally the option to choose if I want to use ES6/ES7/TS.
Hi, I used to be a fan of Hi framework but unfortunately it still based on the old father AngularJS and still doesn't help in lot off frontend things(like package management, routing, frontend framework instead of angular), the thing is TypeScript looks being a good option to use with Hi framework since primarily provides optional static typing, classes and interfaces more infomation get be found on the documentation page and some more in this post