next-shared-cache icon indicating copy to clipboard operation
next-shared-cache copied to clipboard

Add example for `ioredis` package

Open better-salmon opened this issue 1 year ago • 1 comments

The ioredis package has a different API than redis. A new page is needed to guide migration between these two packages.

better-salmon avatar Dec 10 '23 22:12 better-salmon

I would not recommend to copy the description from two other lib's documentations. Leads to confusion if the library would change.

Instead I would argue it's more effective for you and the users if we'd describe a schema for initializing, storing and retrieving data. Through a generic description, other storage solutions could become viable as well.

MauriceArikoglu avatar Dec 11 '23 07:12 MauriceArikoglu

Look at the Creating a Custom Handler guide to learn how to build a handler for ioredis or any other Redis client.

better-salmon avatar Sep 18 '24 10:09 better-salmon