Hacker GitHub

← All repos

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

Mentions per year 39 mentions · busiest year 2015 (19)
20082026
  1. …hyperscript. Except it’s missing the ability to hydrate components on the client and re-render. [1] https://github.com/Raynos/mercury
  2. …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/
  3. Mercury - https://github.com/Raynos/mercury Hyperapp - https://github.com/jorgebucaran/hyperapp Choo - https://github.com/choojs/choo
  4. What makes this different from Mercury ( https://github.com/Raynos/mercury ) and a ton of other pre-React frameworks?
  5. …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…
  6. …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
  7. …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
  8. …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
  9. …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...
  10. …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
  11. …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...
  12. …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
  13. 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…
  14. …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…
  15. …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] -…
  16. …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.
  17. 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
  18. …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
  19. …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
  20. …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…
  21. …a pure function, but the component itself is a state machine. This is why I prefer Mercury[1] [1] https://github.com/Raynos/mercury
  22. …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
  23. …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
  24. 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.
  25. …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
  26. 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
  27. 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
  28. 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
  29. …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
  30. …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…
  31. …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
  32. …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
  33. Had you check on this: https://github.com/Raynos/mercury it claims to be even more faster and maintainable than React.
  34. …want "pieces" with similar functions to what React has then there is the very modular Mercury too: https://github.com/Raynos/mercury
  35. …objects to the listeners. [1]: https://github.com/Raynos/html-delegator/blob/master/README.md [2]: https://github.com/Raynos/mercury
  36. 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…
  37. …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…