Raynos/mercury
View on GitHub ↗ ★ 2,806 JavaScript archived
A truly modular frontend framework
39 mentions on Hacker News by 23 people: 2 stories, 37 comments · first 2014-05-14 · latest 2024-05-13
20082026
-
…hyperscript. Except it’s missing the ability to hydrate components on the client and re-render. [1] https://github.com/Raynos/mercury
comment by ricardobeat · 2024-05-13 · in Show HN: Boxwood – simple templating engine for JavaScript, in JavaScript -
…it turns out - uses the tags-as-functions pattern. [0] https://github.com/hyperhype/hyperscript [1] https://github.com/Raynos/mercury [2] https://jed.github.io/domo/
comment by lhorie · 2021-04-07 · in Show HN: Skruv – No-dependency, no-build, small JavaScript framework -
Mercury - https://github.com/Raynos/mercury Hyperapp - https://github.com/jorgebucaran/hyperapp Choo - https://github.com/choojs/choo
comment by yboris · 2020-06-21 · in Show HN: Noact – React-like Virtual DOM library in 70 lines of TypeScript -
What makes this different from Mercury ( https://github.com/Raynos/mercury ) and a ton of other pre-React frameworks?
comment by ricardobeat · 2018-09-23 · in Show HN: Thi.ng/hdom – S-expression based, pure ES6 UI/VDOM components -
…for mercury is sadly very poor, but the ideas are sound once you "get it" here is the repo https://github.com/Raynos/mercury/ here are the rough docs https://github.com/Raynos/mercury/tree/master/docs how would you compare the prescribed…
comment by cellvia · 2016-03-12 · in Make state management simple again: Intro to MobX -
…which can be depended on individually if you're not looking for a kitchen sink solution. [0] https://github.com/Raynos/mercury
comment by udp · 2016-01-28 · in Preact, a fast 3k React alternative -
▲ 1
Mercury, a modular front-end framework inspired by React and Elmstory by wanda · 2016-01-27 · 0 comments
-
…but still have their own virtual DOM implementations. [1] https://fb.me/react-0.14.0.min.js [2] https://github.com/Raynos/mercury [3] http://mithril.js.org [4] http://riotjs.com/
comment by fuzionmonkey · 2015-10-27 · in Vue.js 1.0.0 -
…by having them listen to each other. Time travel (undo/redo) is also trivial to implement: https://github.com/Raynos/mercury/blob/master/time-travel.js 67 LOC with generous whitespace. You could wire up the time-travel state to a slider as…
comment by malandrew · 2015-07-29 · in Flux Architecture Visual Cheatsheet -
…Makes server-side and client side rendering a cinch. Here is an example of it in action in mercury: https://github.com/Raynos/mercury/blob/master/examples/serve...
comment by malandrew · 2015-06-10 · in Hiccup – A subset of Clojure used for generating HTML -
…mercury is lean, it's an weekend's read at 2.5kloc. (virtual-dom is 1.1kloc, an evening's read.) 1: https://github.com/Raynos/mercury
comment by darklajid · 2015-05-12 · in Deku: How we built our functional alternative to React -
…goals that they didn't think any of the current libraries were well suited to work with. https://github.com/Raynos/mercury/blob/master/dist/mercury.j...
comment by jaltekruse · 2015-05-12 · in Deku: How we built our functional alternative to React -
…also know that your library usage examples, in the end, look just like mercury usage examples. [1]: https://github.com/Raynos/mercury/blob/master/index.js
comment by fiatjaf · 2015-05-12 · in Deku: How we built our functional alternative to React -
virtual-dom is excellent. Also check out mercury: https://github.com/Raynos/mercury Or better yet, fork mercury and modify the index.js file and package.json. It's a bunch of libraries masquarading as a framework (which is awesome because…
comment by malandrew · 2015-05-12 · in Deku: How we built our functional alternative to React -
…just wasn't a massive fan of the process flow of Flux. In the end, we decided to go with Mercury.js https://github.com/Raynos/mercury , we created a few of our own rules around structure which has help us keep things modular and fairly…
comment by pedalpete · 2015-05-09 · in Ask HN: Has anyone else found Angular to be destroying their productivity? -
…also nicer (in my opinion) from a technical perspective. Not just a licensing perspective. [0] - https://github.com/Raynos/mercury [1] - http://elm-lang.org/blog/Blazing-Fast-Html.elm [2] - https://github.com/ghcjs/ghcjs-vdom [3] -…
comment by arianvanp · 2015-04-02 · in Virtual-dom – A Virtual DOM and diffing algorithm -
…Facebook for anyone developing their core business with anything they've made/open sourced. EDIT: https://github.com/Raynos/mercury was suggested as an alternative, I'm not sure how viable it is for different types of projects.
comment by loceng · 2015-03-24 · in A Primer for Building Single Page Applications with React -
Why a company: https://github.com/Raynos/mercury All react best practices converge on what mercury has done out of the box since day one. React's advantage is it's community. There are more docs, examples and tutorials.
comment by malandrew · 2015-03-11 · in React v0.13 released -
…stuff from the main thread. EDIT: It should be noted that Mercury, a React-inspired library ( https://github.com/Raynos/mercury ), has examples of running in a web worker. It is pretty cool, but I think it needs to be fleshed out more.
comment by jlongster · 2015-02-06 · in First Impressions Using React Native -
…means you get time travel debugging for free (i.e. undo redo is available right out of the box) https://github.com/Raynos/mercury
comment by malandrew · 2015-02-06 · in First Impressions Using React Native -
…have ripple effects throughout the web industry. Here's MercuryJS's example of server rendered app: https://github.com/Raynos/mercury/tree/master/examples/serve... As you can see most of the code is the client-code. All the server code…
comment by Touche · 2015-02-05 · in Missing the Point of Server-side Rendered JavaScript Apps -
…a pure function, but the component itself is a state machine. This is why I prefer Mercury[1] [1] https://github.com/Raynos/mercury
comment by Touche · 2015-02-02 · in React Hot Loader: Tweak React Components in Real Time -
…other libraries easily. [0] https://github.com/Matt-Esch/virtual-dom [1] http://elm-lang.org/ [2] https://github.com/Raynos/mercury
comment by malandrew · 2015-01-28 · in Use ReactJS to Build Native Apps -
…to have an easy time working with the code, and is "putting out a welcome mat". Compare mercury: https://github.com/Raynos/mercury with vue: http://vuejs.org/ . mercury is likely the "better" framework, with it's reactive approach, but in…
comment by woah · 2015-01-26 · in Popularity-driven development -
If you want a framework with immutability you should probably just use https://github.com/Raynos/mercury as it gets rid of React's unnecessary component state.
comment by Touche · 2015-01-21 · in Marty.js – A JavaScript library for state management in React applications -
…talk from Raynos: https://www.youtube.com/watch?v=RLAjMeR8898 The "framework" used is mercury: https://github.com/Raynos/mercury I use "framework" in quotes because it's really just a collection of libraries that work well together. Here's…
comment by malandrew · 2015-01-06 · in Smalltalk MVC Translated to JavaScript -
A framework that is much like a non-framework: https://github.com/raynos/mercury (virtual-dom, selective rerenders, faster than light, truly modular)
comment by fiatjaf · 2014-12-24 · in No more JavaScript frameworks -
You might be interested in the virtual-dom and vdom-thunk NPM packages, which are used in mercury: https://github.com/Raynos/mercury See also Raynos's "NPM-style Frontend" presentation: https://www.youtube.com/watch?v=8w0_Xw7PPFQ
comment by grosskur · 2014-12-17 · in You Don't Need JQuery -
This looks like a good opportunity to point people at Mercury: https://github.com/Raynos/mercury It is similar to Mithril, but with a strong focus on modularity. To quote the website: "mercury is a small glue layer that composes a set of…
comment by MrBuddyCasino · 2014-12-01 · in The State of JavaScript in 2015 -
▲ 3
Mercury.js: a modular, fast, virtual-dom, functional-reactive frontend frameworkstory by MrBuddyCasino · 2014-11-24 · 1 comment
-
…for Clojure devs, which is why I'm going to have a closer look. To save the next guy some googling: https://github.com/Raynos/mercury
comment by MrBuddyCasino · 2014-11-24 · in 2 years with Angular -
…all? Just use virtual DOM: https://github.com/Matt-Esch/virtual-dom Server-side rendering example: https://github.com/Raynos/mercury/blob/master/examples/serve... It feels more tedious at first if you try using hyperscript the same way as…
comment by malandrew · 2014-11-13 · in A comparison of JavaScript templating engines: Jade, Mustache, Dust and more -
…delegated to Virtual DOM event handlers. This is what 'dom-delegator' does, it comes from mercury: https://github.com/Raynos/mercury/blob/master/docs/dom-deleg... Still, the View doesn't "do" two things. It does just one: renders virtual…
comment by staltz · 2014-11-10 · in Reactive MVC and the Virtual DOM -
…be a source of memory usage that just keeps creeping up and for which memory is never released? [0] https://github.com/Raynos/mercury
comment by malandrew · 2014-11-01 · in Immutable.js – Immutable Data Collections -
Had you check on this: https://github.com/Raynos/mercury it claims to be even more faster and maintainable than React.
comment by jbeja · 2014-09-17 · in From Backbone to React: Our Experience Scaling a Web Application -
…want "pieces" with similar functions to what React has then there is the very modular Mercury too: https://github.com/Raynos/mercury
comment by spyder · 2014-07-31 · in Immutable Data Collections for Javascript -
…objects to the listeners. [1]: https://github.com/Raynos/html-delegator/blob/master/README.md [2]: https://github.com/Raynos/mercury
comment by Raynos · 2014-05-22 · in Google open-sources JsAction, a JavaScript event delegation library -
I've been building a FP style framework very similar to OM & Elm in plain javascript ( https://github.com/Raynos/mercury ). It has some of the core features - immutable data - immutable vdom - global state atom, no hidden local state. - no…
comment by Raynos · 2014-05-14 · in Removing User Interface Complexity, or Why React is Awesome -
…small framework on top `virtual-dom` to add in essentials like immutable state and event handling ( https://github.com/Raynos/mercury ). Whilst mercury might not be the best way to structure apps, it's an approach that is getting me far…
comment by Raynos · 2014-05-14 · in Removing User Interface Complexity, or Why React is Awesome