Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
toolbox-devvit
Advanced tools
Helpers for working with /r/toolbox data from Devvit community apps.
Helpers for working with /r/toolbox data from Devvit community apps. Read the documentation.
npm install --production toolbox-devvit
import {Devvit} from '@devvit/public-api';
import {ToolboxClient} from 'toolbox-devvit';
Devvit.configure({
redditAPI: true,
// ...
});
// A simple action that creates a usernote on a post's author
Devvit.addMenuItem({
location: 'post',
label: 'Create Test Usernote',
description: 'Creates a Toolbox usernote for testing',
onPress: async (event, {reddit, ui, postId}) => {
const subredditName = (await reddit.getCurrentSubreddit()).name;
const username = (await reddit.getPostById(postId!)).authorName;
const text = 'Hihi i am a note';
const wikiRevisionReason = 'Create note via my custom app';
const toolbox = new ToolboxClient(reddit);
await toolbox.addUsernote(subredditName, {
username,
text,
}, wikiRevisionReason);
ui.showToast({
appearance: 'success',
text: 'Note added!',
});
},
});
export default Devvit;
FAQs
Helpers for working with /r/toolbox data from Devvit community apps.
We found that toolbox-devvit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.