Skip to content

☂️ Help us Kotlin-ify the React Native Website #3018

Closed
@cortinico

Description

@cortinico

Hey all 👋
We're looking for some community support to help us convert our website, https://reactnative.dev to be more Kotlin-friendly.

A lot of the docs that you can find on the website are currently Java only. We're looking into adding snippets for both Java and Kotlin, using a tabbed view.

List of Pages to address.

Those are the pages that needs conversion:

How to migrate a page.

If you wish to convert one of the page you should:

  1. Verify that the page is not claimed yet.
  2. Comment here that you claim a page.
  3. Start working on adding Kotlin support for the page.
    1. Use this PR as inspiration: Add kotlin sample code in "Integration with an Android Fragment" documentation #2977
    2. Make sure you're testing the code you're writing (please take the chance to verify that the doc is also up to date).
    3. If the documentation is not up to date, send a separate PR fixing the inconsistencies with the doc.
    4. You Kotlin code should be formatted with ktfmt (see below).
  4. Send the PR for review. Ping @cortinico and @mdvacca for a review.

Code formatting

Please use KtFmt to format the Kotlin code snippets.

You can the web UI to reformat directly from the browser:
https://facebookincubator.github.io/ktfmt/

Metadata

Metadata

Assignees

No one assigned

    Labels

    👋 Good first issueInterested in collaborating? Take a stab at fixing one of these issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions