Skip to content

Conversation

imwithye
Copy link

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything or linked relevant results below
  • I made sure the docs are up to date
  • I included tests (or that’s not needed)

Description of changes

Add related link to react-native-remark. I believe many developers are looking for a good solution for using remark with React Native, but existing options are limited. I created a library to fill this gap, and I think it would be helpful to include it as a related link. Thank you!

Signed-off-by: Yiwei Gong <[email protected]>
@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Jun 21, 2025
imwithye added 2 commits June 22, 2025 00:44
Signed-off-by: Yiwei Gong <[email protected]>
Signed-off-by: Yiwei Gong <[email protected]>
Copy link
Member

@ChristianMurphy ChristianMurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sharing @imwithye!

Looking at https://www.npmjs.com/package/react-native-remark and https://github.com/imwithye/react-native-remark/

A few things:

  1. The package isn't 1.0 (stable) yet, it is at 0.10.0 at the time of writing. I'm not comfortable recommending an unstable plugin (source: https://www.npmjs.com/package/react-native-remark)
  2. There are no tests for the package to make sure it works https://github.com/imwithye/react-native-remark/blob/53e3d9fe325d9775c72cc44ca85392d57bc6f060/package.json#L11
  3. Types that are required by the type definitions are listed as dev dependencies, which will cause some package managers (newer yarn and pnpm) to fail https://github.com/imwithye/react-native-remark/blob/53e3d9fe325d9775c72cc44ca85392d57bc6f060/package.json#L45
  4. The docs don't describe what the option this plugin accepts are https://github.com/imwithye/react-native-remark/tree/main?tab=readme-ov-file#usage
  5. The lint job doesn't lint check the code https://github.com/imwithye/react-native-remark/blob/53e3d9fe325d9775c72cc44ca85392d57bc6f060/.github/workflows/lint-pr.yml#L14
  6. The release doesn't generate a provenance statement https://github.com/imwithye/react-native-remark/blob/53e3d9fe325d9775c72cc44ca85392d57bc6f060/.github/workflows/release.yml#L31 https://docs.npmjs.com/generating-provenance-statements
  7. The type of the package is listed as module https://github.com/imwithye/react-native-remark/blob/53e3d9fe325d9775c72cc44ca85392d57bc6f060/package.json#L6 but the build is not configured to produce ESM https://github.com/imwithye/react-native-remark/blob/53e3d9fe325d9775c72cc44ca85392d57bc6f060/tsconfig.json#L4 for safely publishing it should be node16, node18, or nodenext https://www.typescriptlang.org/tsconfig/#module
  8. There are no docs on what flavor(s) of markdown are supported. Commonmark is the default of react-markdown. I also see GFM as a dependency https://github.com/imwithye/react-native-remark/blob/53e3d9fe325d9775c72cc44ca85392d57bc6f060/package.json#L33, any others? (Directive, mdx, frontmatter, etc)

@imwithye
Copy link
Author

Thank you very much! Your advice worth a lot! I will update my repo based your suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤞 phase/open Post is being triaged manually
Development

Successfully merging this pull request may close these issues.

2 participants