July 2019
Intermediate to advanced
310 pages
7h 26m
English
In the previous chapter, you created a single-page application with the Browser, Browser.Navigation, and Url modules and components. You can now build and deploy your own Elm applications that vary in size and complexity. Although Elm touts a fast runtime and virtual DOM, your applications may encounter performance challenges. Don’t worry. Elm is fast. Performance issues usually surface when code does more work than needed.
In this chapter, you will explore common examples where implementation details drastically impact performance. For example, traversing lists several times and eagerly evaluating expressions when unnecessary can slow down code. You will measure performance with elm-benchmark, diagnose the ...
Read now
Unlock full access