Skip to content
/ mrhyde Public
forked from dribnet/mrhyde

clojurescript ))<= interop =>(( javascript

Notifications You must be signed in to change notification settings

aminggs/mrhyde

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mrhyde

The primary design decision is to remove as much of the interop glue and clj->js->clj data marshalling from application code as possible. mrhyde allows cljs sequential types to be treated as native JavaScript arrays by implementing the ArrayLike.js specification and then using the ArrayLikeIsArray polyfill. This technique has proven useful on libraries like leaflet and angular libraries. In addition, mrhyde includes data interop glue so that cljs map types can be treated as native JavaScript objects as well as several helpful functions patching JavaScript functions to provide smoother interop.

See strokes for an example of how the mrhyde library is useful for JavaScript interop.

Getting Started

To use mrhyde from your ClojureScript project, add this dependency to your project.clj:

[net.drib/mrhyde "0.5.0"]

About

clojurescript ))<= interop =>(( javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.9%
  • Clojure 14.1%