•  
      request #13702 Introduce Typescript in Vue apps
    Infos
    #13702
    Joris MASSON (jmasson)
    2019-08-21 18:30
    2019-07-31 10:36
    14110
    Details
    Introduce Typescript in Vue apps

    Following a tech retrospective, we decided to give Typescript a go.
    We've seen the benefits of stricter typings since PHP 7. Frontend code should also benefit from stricter typings. The goal is for it to help us understand what programs are doing, what they expect and don't expect more easily. It could also catch some bugs.

    Since we have all pretty much learned ES2015 and higher, we "only" have to learn typings, interfaces and so on. The learning curve should be okay.

    The main difficulties we anticipate are on the dev tools front. Translation and unit-tests in particular have posed a number of problems when adopting Vue.

    This request's scope is to setup Typescript + Vue usage in one small app. It'll allow to face all the hurdles of dev tools setup for a small app and deal with "scale" problems later.

    internal improvement
    Dev tools
    Empty
    Empty
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2019-08-21
    Attachments
    Empty
    References

    Follow-ups