Merged
Conversation
Size changesDetails📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
r17x
requested changes
May 2, 2023
| * Di React, Anda dapat mengontrol logika percabangan dengan JavaScript. | ||
| * Anda dapat mengembalikan ekspresi JSX secara kondisional dengan pernyataan `if`. | ||
| * Anda dapat menyimpan beberapa JSX secara kondisional ke sebuah variabel dan kemudian menyertakannya di dalam JSX lain dengan menggunakan kurung kurawal. | ||
| * Dalam JSX, `{cond ? <A /> : <B />}` berarti *"jika `cond`, render `<A />`, sebaliknya `<B />`"*. |
Collaborator
There was a problem hiding this comment.
Suggested change
| * Dalam JSX, `{cond ? <A /> : <B />}` berarti *"jika `cond`, render `<A />`, sebaliknya `<B />`"*. | |
| * Dalam JSX, `{cond ? <A /> : <B />}` berarti *"jika `cond`, *render* `<A />`, sebaliknya `<B />`"*. |
Member
Author
There was a problem hiding this comment.
@r17x Kayaknya karena ini di udah di dalam italic, jadi gak usah. Nanti italic-nya juga "ditimpa" sama italic yang di luar.
| * Anda dapat mengembalikan ekspresi JSX secara kondisional dengan pernyataan `if`. | ||
| * Anda dapat menyimpan beberapa JSX secara kondisional ke sebuah variabel dan kemudian menyertakannya di dalam JSX lain dengan menggunakan kurung kurawal. | ||
| * Dalam JSX, `{cond ? <A /> : <B />}` berarti *"jika `cond`, render `<A />`, sebaliknya `<B />`"*. | ||
| * Dalam JSX, `{cond && <A />}` berarti *"jika `cond`, render `<A />`, sebaliknya jangan render apa pun"*. |
Collaborator
There was a problem hiding this comment.
Suggested change
| * Dalam JSX, `{cond && <A />}` berarti *"jika `cond`, render `<A />`, sebaliknya jangan render apa pun"*. | |
| * Dalam JSX, `{cond && <A />}` berarti *"jika `cond`, *render* `<A />`, sebaliknya jangan *render* apa pun"*. |
Member
Author
There was a problem hiding this comment.
@r17x Kayaknya karena ini di udah di dalam italic, jadi gak usah. Nanti italic-nya juga "ditimpa" sama italic yang di luar.
Collaborator
There was a problem hiding this comment.
Oh iya aku gak lihat italicnya yang diujung. Okay2
Co-authored-by: RiN <ri7nz@evilfactory.id>
r17x
approved these changes
May 3, 2023
r17x
added a commit
that referenced
this pull request
May 8, 2023
Co-authored-by: RiN <ri7nz@evilfactory.id>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #431
Description
Translate the Conditional Rendering page.
Page URL: https://id.react.dev/learn/conditional-rendering