applications should be functional and accessible to all web browsers and then leverage whatever extra capabilities the browser has to enhance the experience.
learning path and filtering courses • Submitting answer on interactive video module • Load more comments on discussion page • Voting on discussion’s comment • Filtering Elite contributors • Adding inline comment on student submission • etc.
'Maaf, Anda <b>Tidak Lulus</b> pada Ujian ini, dengan detail sebagai berikut:'; if (parseInt(data.info.is_passed) <<= 1) { $info = 'Selamat, Anda <b>Lulus</b> pada Ujian ini, dengan detail sebagai berikut:'; } $alertDialog.find('.js-detail').html(sanitize($table)); $alertDialog.find('.js-info').html(sanitize($info));
became harder to maintain • Component scope in unclear • Sometimes we need to render HTML inside JS ◦ It means template duplication • Sometimes problematic when working with dynamically inserted element • It’s huge, ~90kb minified
minimal JS to write • Turbo Drive: navigate links or submit forms without full-page reload • Turbo Frames: chunk some parts of UI into fragments, with capability to eager/lazy load them • Turbo Streams: deliver changes from server seamlessly
organization ◦ Remember they’re just tools to help your company success • DX is as important as UX, but if you have to choose, then the end user is the highest priority • Keep updated with current trends, not only on how might we used it, but learn the idea behind it