4 ms·
At Khan Academy most of our frontend is now using React (including our personalized learning dashboard, coach reports, question editor [1], etc.) and we're real
by spicyj 12y ago
At Khan Academy most of our frontend is now using React (including our personalized learning dashboard, coach reports, question editor [1], etc.) and we're really happy with it. We have about 750 React components and 50,000 lines of JSX now. We've migrated pieces incrementally and React is really great for doing that because it doesn't try to own your whole app.
My friends and I also just launched Vim Awesome [2], which is not "large" but is completely written in React and is open source if you're curious to look at it.
[1]: https://github.com/Khan/perseus https://github.com/Khan/perseus
[2]: http://vimawesome.com/ http://vimawesome.com/
- subsection1h 12y agoWhen I scroll down the Vim Awesome home page, click a link, and then go back to the home page (Alt-Left), I'm directed to the top of the home page rather than the location on the home page where I left off. Is this issue caused by React? (Every site I've evaluated that's powered by Meteor has this issue, and I hate it.)
- spicyj 12y agoNo, this is most likely an artifact of react-nested-router (https://github.com/rpflorence/react-nested-router https://github.com/rpflorence/react-nested-router) not currently preserving the scroll position. Definitely not a constraint imposed by React. Edit: Or this may be due to the fact that we don't properly cache the fetched plugin list on the client side so we end up re-fetching it when you go back. Either way, this is not a React problem.
- divad12 12y agoYes, this is my bad. :) I added an issue to GitHub about it: https://github.com/divad12/vim-awesome/issues/14 https://github.com/divad12/vim-awesome/issues/14 Pull requests welcome!