Hacker GitHub

← All repos

Rajeev-K/mvc-router

View on GitHub ↗ ★ 46 TypeScript

Router for JavaScript Single Page Applications that supports MVC pattern

15 mentions on Hacker News by 5 people: 0 stories, 15 comments · first 2016-11-30 · latest 2026-04-09

Mentions per year 15 mentions · busiest year 2017 (5)
20082026
  1. …stuff needed. In fact, React was originally designed to be used this way (as the V in MVC)! See https://github.com/Rajeev-K/mvc-router
  2. …Most apps don't need such heavy frameworks. Here's a 500-line "framework" (if you can call it that) https://github.com/Rajeev-K/mvc-router and here's an example app built using it: https://github.com/Rajeev-K/eureka For templates I used…
  3. …React stack: https://github.com/Rajeev-K/eureka It uses two very simple libs: A 500-line router: https://github.com/Rajeev-K/mvc-router/ A 200-line templating library that uses JSX syntax: https://github.com/wisercoder/uibuilder/
    comment by rajeev-k · 2020-10-29 · in If Not SPAs, What?
  4. …https://github.com/rajeev-k/eureka And here’s the client-side router, which is all of 500 lines: https://github.com/Rajeev-K/mvc-router React + Redux + ReactRouter is way too complicated and it is getting more complicated every passing…
    comment by petilon · 2020-10-08 · in Your single-page app is now a polyfill
  5. …more productive coding directly against DOM APIs, using these tiny libs: MVC router (500 lines): https://github.com/Rajeev-K/mvc-router/ JSX templating (200 lines): https://github.com/wisercoder/uibuilder
  6. …like this for jsx (200 lines): https://github.com/wisercoder/uibuilder Router (500 lines): https://github.com/Rajeev-K/mvc-router
    comment by petilon · 2020-04-04 · in Show HN: 33 line React
  7. Yes, and the MVC framework is all of 500 lines of code and can be used with React too: https://github.com/Rajeev-K/mvc-router
  8. …to be independent of UI component libraries such as React and webcomponents. See an example here: https://github.com/Rajeev-K/mvc-router You can use it with React---and in some ways it works better than react-router.
    comment by rajeev-k · 2019-11-14 · in Build Your Own React
  9. …use simple libraries such as UIBuilder ( https://github.com/wisercoder/uibuilder ) and MVC router ( https://github.com/Rajeev-K/mvc-router/ ) you can build simpler applications that work well and are super easy to develop and maintain.…
    comment by petilon · 2019-02-17 · in You probably don't need a single-page app
  10. …store in MVC. Here's a simple MVC framework (less than 500 lines) that works with React: https://github.com/rajeev-k/mvc-router In this framework the Application object holds the centralized store. No need for MVVM, Redux etc. React is the…
    comment by petilon · 2017-06-14 · in React v15.6.0 Released
  11. If you want to go with MVC use this: https://github.com/Rajeev-K/mvc-router
    comment by whitefish · 2017-05-19 · in What's New in Create React App
  12. …independent of View technology. Here's one that works well for React but is independent of React: https://github.com/Rajeev-K/mvc-router The MVC model is well-understood, and does not require Redux. MVC does not imply two-way data binding,…
  13. …too complex -- you're right. But there is an easier way to use React: MVC. React is the V in MVC. https://github.com/Rajeev-K/mvc-router Note that using MVC does not imply 2-way binding!
  14. If you want to use React as the V in MVC you can always use a MVC router instead: https://github.com/rajeev-k/mvc-router
    comment by interlocutor · 2017-01-30 · in React Router: Declarative Routing for React
  15. …MVC in the browser doesn't need to be complex. It can be tiny as seen in this MVC lib for React: https://github.com/rajeev-k/mvc-router