Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

radhoc

DEPRECATED: I folded this into the jjm-ui module at jjm since I was using jjm as a dependency anyway.


Rad Higher-Order Components (or, Rendering Ad-Hoc style in React!)

This is a tiny scala.js library for higher-order components that I use throughout projects that involve UIs written with React in Scala.js. The HOC style of writing interfaces I find much easier to use & reason about in comparison to the monolithic state / reducer approach advocated by Redux... I think. (I haven't actually used redux, just checked out its docs a bit.)

I might write something about the motivation and general use of these components at some point.

Usage

To include it in your project, add

  ivy"org.julianmichael::radhoc::0.1.0"

to your ivyDeps in your Mill build. You will also need react and react-dom 15.6.1 loaded in JS when running React to use these components. More documentation coming if anyone requests it.

About

Rad Higher-Order Components (or: React, Ad-Hoc style)

Resources

License

Packages

No packages published

Languages