devvit icon indicating copy to clipboard operation
devvit copied to clipboard

Shared App Dependencies

Open Yay295 opened this issue 11 months ago • 1 comments

I would like to create a library for Devvit, and while it would be possible to include my library using package.json, it would be more efficient if multiple apps on the same subreddit could share the same code and data. My library would listen for a trigger, process the data, and store the changes in Redis. Currently every app using my library would each do these same steps. If my library could be shared, then these steps would only happen once, and each app would be able to read the same final data.

Yay295 avatar Jan 01 '25 20:01 Yay295