react-notion-x
react-notion-x copied to clipboard
Fast and accurate React renderer for Notion. TS batteries included. ⚡️
#### Description Using fetch from undici or the native fetch implementation, this makes it possible to use notion-client in `cloudflare workers` or other environments other than node Given that this...
https://github.com/NotionX/react-notion-x/blob/015c6816c0d63743e1b57272373457022daacba5/packages/react-notion-x/src/context.tsx#L79 In `NotionRenderer`, if `fullPage` is set to true, the rendered html will include a `` element that includes breadcrumbs. AFAICT there is no way to override this `` and...
https://github.com/NotionX/react-notion-x/blob/015c6816c0d63743e1b57272373457022daacba5/packages/react-notion-x/src/block.tsx#L254 According to the source code, when `fullPage` prop of NotionRenderer is set to `false` or left out, both the values of prop `className` and `bodyClassName` are added to the...
#### Description I was trying to upgrade the notion client on the backend, but seems like it causes an error which does not let me run the tests anymore. The...
#### Description As declared on Notion API Docs https://developers.notion.com/reference/block#block-object-keys  #### Notion Test Page ID
No issues found while running on localhost, but when we run npm run deploy, giving below message: Error! Command "yarn run build" exited with 1 Log file on vercel: ================...
## Description I assumed that database ID is collection ID, so I passed it to `getCollectionData` of the `notion-client`. It returned a 400 response. After further research, I've learned that...
#### Description `notion-utils` contain many super useful helpers for working with Notion data, but its is largely undocumented. I added explanation for `parsePageId` and `getCanonicalPageId`. #### Notion Test Page ID...
Notion made a change to their private API a few weeks ago which broke our support for many collection views. This issue is to track fixing support for these changes,...
#### Description Here I set up a simple Next.js page with getStaticProps. The revalidate is set to 10 already, but changing on the Notion Page still does not change the...