Javascript

How To Test a Node.js Module with Mocha and Assert — step-by-step Javascript tutorial on Progressive Robot

How To Test a Node.js Module with Mocha and Assert

Testing is an integral part of software development. With the right test setup, this process can be automated, saving a lot of time. In this article, you’ll write tests for a Node.js TODO list module. You will set up and use the Mocha test framework to structure a series of integration tests. Then you’ll use the Node.js assert module to create the tests themselves. Finally, you will try out testing with asynchronous code, and use hooks to prepare your test fixtures and environments.

Read more
How To Build Forms in React — step-by-step Javascript tutorial on Progressive Robot

How To Build Forms in React

Since most React applications are single page applications (SPAs), web forms usually do not submit the information directly from the form to a server. Instead, they capture the form information on the client-side and send or display it using additional JavaScript code. In this tutorial, you’ll build forms using React Hooks and state objects. By the end of this tutorial, you’ll be able to make a variety of forms using text inputs, checkboxes, select lists, and more.

Read more
Cara Membangun Paginasi Khusus dengan React — step-by-step Javascript tutorial on Progressive Robot

Cara Membangun Paginasi Khusus dengan React

Metode untuk menangani set data besar terkait tampilannya adalah menggunakan teknik guliran yang tak terbatas – ketika banyak data dimuat dalam potongan seiring pengguna terus menggulir hingga sangat dekat dengan akhir halaman. Ini adalah teknik yang digunakan untuk menampilkan hasil pencarian di Google Images. Dalam tutorial ini, kita akan melihat cara membangun komponen paginasi khusus dengan React untuk melakukan paginasi pada set data yang besar. Kita akan membangun tampilan terpaginasi dari

Read more
CHAT