To provide an upgrade path for those looking to retain the features of rails-ujs, but using a currently maintained library written in Typescript and using modern features like MutationObservers and fetch.
Check out the docs
The official docs can be found here:
Working on mrujs locally
- Clone the repo
git clone https://github.com/ParamagicDev/mrujs cd mrujs
- Install packages
View Dev Server
There is also a Rails dummy app attached in this repo for testing.
Must be run within the
cd test/rails/dummy && bundle exec rails server
From any where outside of the
bundle exec rake test
Docs are located in
/docs and use Bridgetown + Netlify.
To start the docs server do the following:
cd docs && yarn install && bundle install && yarn start