React
Backbone.js
| React | Backbone.js | |
|---|---|---|
| 1,998 | 27 | |
| 241,728 | 28,116 | |
| 0.6% | 0.0% | |
| 9.9 | 5.7 | |
| 5 days ago | 9 months ago | |
| JavaScript | JavaScript | |
| MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
React
- process-polyfill.ts in Refly codebase.
// @ts-nocheck - Disable all type checking for this file // Workaround for removeChild and insertBefore errors when // google translate is enabled // See https://github.com/facebook/react/issues/11538#issuecomment-417504600. if (typeof Node === 'function' && Node.prototype) { const originalRemoveChild = Node.prototype.removeChild; Node.prototype.removeChild = function (child) { if (child.parentNode !== this) { if (console) { console.error('Cannot remove a child from a different parent', child, this); } return child; } // biome-ignore lint/style/noArguments: using arguments is simpler return originalRemoveChild.apply(this, arguments); }; const originalInsertBefore = Node.prototype.insertBefore; Node.prototype.insertBefore = function (newNode, referenceNode) { if (referenceNode && referenceNode.parentNode !== this) { if (console) { console.error( 'Cannot insert before a reference node from a different parent', referenceNode, this, ); } return newNode; } // biome-ignore lint/style/noArguments: using arguments is simpler return originalInsertBefore.apply(this, arguments); }; }
- I Built a Feature in 1 Hour, Not a Day
React Docs – Reusability Patterns: https://react.dev
- Understanding React Project Structure Created by Vite (Beginner’s Guide)
Vite is a blazing fast frontend build tool powering the next generation of web applications. It is a build tool that aims to provide a faster and leaner development experience for modern web projects. It is very popular among developers especially React developers because it is easy to use and provides different useful features that help in the development. It is not only popular but also the recommended method for creating React Project in React official docs. So, understanding the structure of React project created by Vite would help a lot in the journey of learning and working with React. This is a simplified but detailed guide for beginners who are new to React and do not understand its project structure.
- How to Create a React App Using Vite (Step-by-Step Guide for Beginners)
If you’re a beginner looking forward to diving into learning React. But you don’t know how to create the first React App. If you are starting to learn React, then you would be wondering how to create your first React app. Then, you are at the right place. In this blog, you will learn how to create React app and run your React app. There are many different ways of creating a React App. But we will be discussing the official suggested method to create first React app (i.e., Using Vite). Here’s the complete step-by-step guidance and everything you need to create your first React app: First Step: Run this command: (You’re supposed to have Node.js version 20.19+. If you haven’t installed it, first install it from Node.js official website)
- Under the hood: React
Source code
- Brutal Efficiency: A Tech Breakdown of My Portfolio
Core Framework: React 18
- How to Use Zod with Angular Signal Forms (Step-by-Step Migration)
It's extremely popular in React, Node.js, and full-stack TypeScript applications because it provides:
- Workspaces, react and vite. A real-world case study for managing duplicate libraries.
To fully understand dependency resolution mechanics and the deduplication strategies we use, we analyze a practical scenario. We use as a case study a frontend application built with react that uses react-router and react-router-dom for routing. These libraries, heavily relying on context, with their specific dependencies will immediately highlight the "structural problems" arising from the presence of multiple versions.
- Critical RCE Vulnerabilities in React and Next.js
I think this is the fix for the React Server: https://github.com/facebook/react/pull/35277/files
It looks like it only affects dynamic reloading? If I understand correctly, the client can just politely ask the server to load arbitrary code, and the server agrees.
This should never be enabled in production in the first place. I'm not surprised that they are fundamentally vulnerable, and this is likely not going to be the last RCE in this part of the code.
- RCE Vulnerability in Next.js
Backbone.js
- What even is "literate programming"?
- JavaScript Views, the Hard Way – A Pattern for Writing UI
- The Future of Htmx
- JavaScript evolution: From Lodash and Underscore to vanilla
Underscore was created by Jeremy Ashkenas (the creator of Backbone.js) in 2009 to provide a set of utility functions that JavaScript lacked at the time. It was also created to work with Backbone.js, but it slowly became a favorite among developers who needed utility functions that they could just call and get stuff done with without having to worry about the inner implementations and browser compatibility.
- 100+ Must-Have Web Development Resources
Backbone.js: Provides an MVP structure for complex web applications.
- Ask HN: What are some of the most elegant codebases in your favorite language?
- React is 10 years old
Got it thanks for the context.
I've read the web app and it seems to me it is just https://backbonejs.org/ re-written in Typescript and allows JSX.
I'm very certain Typescript and JSX will have improved the DX for Backbone like apps, but it doesn't address all of the other issues that teams had with Backbone.
e.g. Cyclical event propagation, state stored in the DOM (i.e. appendChild is error prone in large code bases), etc.
- Just Simply – Stop saying how simple things are in our docs
- The Emperor's New Library
What we see, a decade ago, are that many of the "popular" libraries, frameworks, and methods, not surprisingly, have gone by the wayside, a lot that have remained in current code as difficult-to-removemodernize legacy cruft (Bower, Gulp, Grunt, Backbone, Angular 1, ...), and then we have the small minority that are still here. Some that remain have had their utility lessened/questioned by platform and language improvements (jQuery, lodash, ...), but very, very few exist that are the same now as they were then. Another fun historical reference: issue #118 of "JavaScript Weekly" (February 22, 2013) includes a first link out to asm.js.
- How To Choose The Right Framework For Your Next Node.js App.
Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. site Backbone.js *Backbone.js gives structure to web applications by providing models with key-value binding and custom events…*backbonejs.org
What are some alternatives?
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Aurelia 1 - The Aurelia 1 framework entry point, bringing together all the required sub-modules of Aurelia.
streamlit - Streamlit — A faster way to build and share data apps.
spine - Lightweight MVC library for building JavaScript applications