
Komputer materi 4
Authored by rafli maulana
Mathematics
5th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi utama dari sebuah component dalam React Native?
Mengelola routing dalam aplikasi
Menampilkan component yang dapat digunakan kembali
Menghubungkan database dengan aplikasi
Menjalankan perintah terminal
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara membuat functional component di React Native?
class MyComponent extends React.Component {}
const MyComponent = () => { <Text>Hello</Text>};
function Component() { return <div>Hello</div> }
const MyComponent = new Component()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Properti yang digunakan untuk mengirim data ke child component disebut?
state
setState
props
context
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Untuk menyimpan state dalam functional component, kita menggunakan?
useState
setState
props
d) this.state
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut ini adalah contoh penggunaan state dalam functional component?
const [count, setCount] = useState(0);
Menghapus state
Memperbarui nilai count
Menghapus komponen
Mengambil data dari API
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa kegunaan utama library twrnc dalam React Native?
Menghubungkan database dengan aplikasi
styling menggunakan sintaks Tailwind
Mengatur navigasi antar halaman
Mengelola state dalam aplikasi
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menginstal twrnc dalam proyek React Native?
npm install twrnc
npm install tailwindcss
yarn add styled-components
yarn add react-native-tailwind
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?