TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Build Your Own: React, ProseMirror, and Redux

3 点作者 smoores超过 2 年前

1 comment

smoores超过 2 年前
Hello! I&#x27;m a software engineer on the Oak team at the New York Times (Oak is the name of the collaborative text editor that the newsroom uses to write the stories that go on nytimes.com).<p>Last year, while working on Oak, we decided to take a step back and learn, as a team, how the tools we used really worked. In particular, we&#x27;d spent years trying to get ProseMirror to play well with React and Redux, but had struggled to reconcile their not-quite-compatible philosophies about DOM and state management.<p>What we sketched out became “Build Your Own”. “Build Your Own” is a five-part syllabus that breaks down React, ProseMirror, and Redux, and walks through how to build them back up from scratch. It’s based on (and includes) the absolutely wonderful “Build your own React” tutorial from Rodrigo Pombo. Inspired by that tutorial, we wrote similar walkthroughs for building Redux and the ProseMirror EditorView component as well. Finally, to ensure that everyone felt comfortable with the terminology and fundamentals of using the library, we built quick refresher courses on the basics of React and ProseMirror. I&#x27;m around to answer any questions that anyone might have about the courses, the team, or the Times! Hope you enjoy!