odnmalau / cari-captions-youtube Goto Github PK
View Code? Open in Web Editor NEWCari Teks Video Youtube.
Home Page: https://webinar-spa-vue.vercel.app
License: MIT License
Cari Teks Video Youtube.
Home Page: https://webinar-spa-vue.vercel.app
License: MIT License
Hi Mas Fransiscus, terima kasih sudah mengirimkan kode belajar Vue.js Fundamental, saya sangat mengapresiasi kerja keras Mas Fransiscus.
Mas juga sudah menggunakan Vue CLI dan kerangka kerja CSS Tailwind untuk aplikasi pencari teks pada video YouTube ini. Luar biasa Mas!
Saya ada 2 saran kecil Mas
src/components/ApiSearch.vue
pada baris 68-71 berikut:sepertinya kodenya belum terformat dengan baik. Saya rasa hal tersebut dikarenakan perbaikan otomatis oleh Eslint atau Prettier ya Mas.
src/components/ApiSearch.vue
pada baris ke 104 berikut:Mas menggunakan fungsi require
(sintaks CommonJS) untuk mengimpor paket NPM pDebounce. Saya sarankan Mas untuk selalu menggunakan sintaks EcmaScript untuk mengimpor paket NPM. Kurang lebih kode di atas akan menjadi seperti berikut:
import pDebounce from 'p-debounce'
Menggunakan sintaks ES kode kita akan sedikit lebih efektif ketika proses build oleh Webpack Mas karena Webpack dapat mengeliminasi kode-kode yg memang tidak digunakan.
Lebih lanjut mengenai perbandingan sintaks CommonJS dengan ES dapat Mas baca pada tautan berikut, StackOverflow - Difference Between require and Import.
Oiya saya juga menyarankan untuk menambahkan jarak antara bagian impor paket NPM dengan export default
. Hal tersebut akan sangat membantu untuk keterbacaan kode.
Semangat Mas! ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.