Skip to content

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
“talatkuyuk” committed Apr 7, 2024
1 parent bd26eee commit d986b0c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ I started to create the `next-mdx-remote-client` in line with the mindset of the

The **`next-mdx-remote-client`** serves as a **viable alternative to `next-mdx-remote`** having more features.

| Feature | `next-mdx-remote` | `next-mdx-remote-client` |
| -------------------------------------------------------------- | :---------------: | :----------------------: |
| support MDX version 3 | canary | stable |
| provide internal error handling mechanism in `app` router |||
| provide internal error handling mechanism in `pages` router |||
| support export-from-MDX in `app` router |||
| support export-from-MDX in `pages` router |||
| support import-into-MDX in `app` router |||
| support import-into-MDX in `pages` router |||
| support disabling imports and exports in MDX |||
| support passing `vfile.data` into the `scope` |||
| get frontmatter and mutated scope in `app` router |||
| get frontmatter and mutated scope in `pages` router |||
| provide utility for getting frontmatter without compiling |||
| expose components and types from `@mdx-js/mdx` |||
| Feature | `next-mdx-remote` | `next-mdx-remote-client` |
| ---------------------------------------------------------- | :-----------------: | :----------------------: |
| support MDX version 3 | canary | stable |
| ensure internal error handling mechanism in `app` router | ||
| ensure internal error handling mechanism in `pages` router | ||
| support export-from-MDX in `app` router | ||
| support export-from-MDX in `pages` router | ||
| support import-into-MDX in `app` router | ||
| support import-into-MDX in `pages` router | ||
| support disabling imports and exports in MDX | ||
| support passing `vfile.data` into the `scope` | ||
| get frontmatter and mutated scope in `app` router | ||
| get frontmatter and mutated scope in `pages` router | ||
| provide utility for getting frontmatter without compiling | ||
| expose components and types from `@mdx-js/mdx` | ||

> [!IMPORTANT]
> You will see a lot the abbreviatons **`csr`** and **`rsc`**. _Pay attention to the both are spelled backwards._\
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "next-mdx-remote-client",
"description": "A wrapper of the `@mdx-js/mdx` for the `nextjs` applications in order to load MDX content. It is a fork of `next-mdx-remote`.",
"version": "1.0.1",
"version": "1.0.2",
"main": "./dist/csr/index.js",
"types": "./dist/csr/index.d.ts",
"type": "module",
Expand Down

0 comments on commit d986b0c

Please sign in to comment.