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
20082026
-
…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
comment by lateforwork · 2026-04-09 · in Show HN: Tired of logic in useEffect, I built a class-based React state manager -
…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…
comment by rajeev-k · 2021-01-16 · in Alternative lightweight UI library to modern day frameworks -
…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? -
…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 -
…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
comment by rajeev-k · 2020-04-18 · in Crank.js – Write JSX-driven components with functions, promises and generators -
…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 -
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
comment by rajeev-k · 2020-04-02 · in How to manage HTML DOM with vanilla JavaScript only? -
…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 -
…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 -
…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 -
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 -
…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,…
comment by whitefish · 2017-05-13 · in Show HN: Cqrs-react-router – A Redux alternative -
…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!
comment by whitefish · 2017-04-24 · in A response to “An experienced JavaScript dev’s account of learning React” -
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 -
…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
comment by petilon · 2016-11-30 · in Svelte – A UI framework that compiles into tiny standalone JavaScript modules