notion-sdk-js
redux-saga
Our great sponsors
notion-sdk-js | redux-saga | |
---|---|---|
22 | 42 | |
4,555 | 22,506 | |
2.5% | 0.0% | |
6.6 | 4.0 | |
8 days ago | 9 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
notion-sdk-js
- Show HN: Pages CMS – A CMS for GitHub
- Regarding notion api
-
Convert HTML To Notion Blocks
Here is an example of how to create a new page in your Notion workspace with the blocks converted from the original HTML. We use the @notionhq/client library and you'll need to have a valid Notion API key and database ID:
-
I created an open source library (notion-on-next) that makes building a Notion-powered Next.js App super easy. It automatically generates types and scaffolds your app to match your database properties!
Provides data fetching functions that add some utility to the notion-sdk
-
Helping Your Users Write Simpler API Calls With "api" ✍️
Thousands of great APIs run their developer hubs on ReadMe, where our customers are already documenting every little detail about their API using the OpenAPI Specification. This got us thinking: “the OpenAPI Specification already provides a ton of valuable information about an API, what if we use this to generate an SDK that’s as good as Notion’s JavaScript SDK”?
-
For developers out there using the API, is there a way to trigger a GET request by typing on Notion, and not the other way around?
The official guide actually suggests to poll all the time and compare to local DB to imitate webhooks.
- Why Would Anyone Need JavaScript Generator Functions?
-
Does a Notion extension exist that will populate a Notion table with my Reddit submissions like this?
Here are the links if you need them JavaScript https://github.com/makenotion/notion-sdk-js
-
NotionPyMail - Triggers Email when value in database is changed
Hey, I created a Notion automation in Python that sends an Email to a given recipient when the value of a select property in a Notion database is changed. To send the Email, the SendGrid API is used. I inspired myself at the official Notion node.js implementation.
-
Understanding SEO and Web Vitals for your NextJS site and how to improve them?
Go To Documentation
redux-saga
- Main-Thread-Scheduling
-
Creating Own Chat GPT
For the backend, we chose Python, Django Rest Framework. On the frontend, React, Redux, Saga, Sass. Let’s start with the backend, which was managed by Yegor. He writes about the server part of the project himself.
-
Internals of Async / Await in JavaScript
The whole article properly the best explanation of generators I have come across. This quote stuck out:
> Generators are a special type of function that can return multiple pieces of data during its execution. Traditional functions can return multiple data by using structures like Arrays and Objects, but Generators return data whenever the caller asks for it, and they pause execution until they are asked to continue to generate and return more data.
Applications of generators? I have only used Redux-Saga[1]. Can't even think of other libraries that use them, but would be interested in learning.
-
Generators in the wild
redux-saga. The most popular effects library in js
-
I don't get why I should use Redux
Redux can be extended with a lot of other packages. For example with a side effect manager, you can separate side effects from your business logic, help with error handling and in the same process make testing of side effects a lot easier.
-
What Is The Best Name for This Synchronous Function?
Consumer vs. Producer: Check out Redux Saga
-
Front-end Guide
Your app will likely have to deal with async calls like making remote API requests. redux-thunk and redux-saga were created to solve those problems. They may take some time to understand as they require understanding of functional programming and generators. Our advice is to deal with it only when you need it.
-
Why Would Anyone Need JavaScript Generator Functions?
Hey thanks for the thoughtful response.
I agree with everything you mentioned here. I'd love to continue to chat with you about how to make testing sagas better.
If you'd like, it would be great if we could move this convo to https://github.com/redux-saga/redux-saga/discussions/2337
-
What is the best plan to catch data from multiple api calls and display some data
If there are dependent API calls, you can probably look at redux-saga. It’s one of the best libraries out there to manage the data.
-
[AskJS] Where will I need to write generator functions?
redux-saga makes use of them in really nice way. https://redux-saga.js.org/ That’s where I’ve used them the most.
What are some alternatives?
notion-api-server-demo - This application shows the demo code for the tutorial on building using the Notion API.
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
twan-dev - Always wanted to use Notion as your CMS? Well, now you can! [Moved to: https://github.com/twankruiswijk/Blion]
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
fastify-auth - Run multiple auth functions in Fastify
rtk-query - Data fetching and caching addon for Redux Toolkit
dotenv - Loads environment variables from .env for nodejs projects.
axios - Promise based HTTP client for the browser and node.js
fastify - Fast and low overhead web framework, for Node.js
SWR - React Hooks for Data Fetching
dotenv - A Ruby gem to load environment variables from `.env`.
Immer - Create the next immutable state by mutating the current one