Webpack debugging

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • In "Webpack debugging" I walk through some tips and tricks to figure out common performance problems in Webpack.
    You can find subscriber questions here:
    github.com/fCh...

Комментарии • 7

  • @pndyjack
    @pndyjack 6 лет назад

    Hey man, thanks for the nice informational video. Can you tell me what the best way is to keep models in sync between clients and APIs in different languages? Let's say between a .NET Web API and a JS frontend.

    • @FredrikChristenson
      @FredrikChristenson  6 лет назад +1

      Hi Jaimin!
      The way I do it is to declare a frontend model that validates the incoming data at runtime, I have a few videos on the way I do it but that is in essence the idea.
      Simply wrap the response from any ajax call in to a model that extracts the expected values and logs out an error if the value isn't there or if it is the wrong type.
      It works very well when you want to keep your models in sync as you will know as soon as the server model has changed in a way the frontend doesn't expect.
      Have a great day and thank you so much for watching!

    • @pndyjack
      @pndyjack 6 лет назад

      Ok, thanks. I look forward to the videos!

  • @oleksandrnechaiev7153
    @oleksandrnechaiev7153 5 лет назад

    Thanks^^

  • @victornpb
    @victornpb 6 лет назад

    12:38 I think you should `export *default* foo` there

  • @tjalferes
    @tjalferes 6 лет назад

    thanks

    • @FredrikChristenson
      @FredrikChristenson  6 лет назад

      No worries m8!
      Have a great day and thank you so much for watching!