Module: InertiaJb
- Defined in:
- lib/inertia_jb.rb,
lib/inertia_jb/helper.rb,
lib/inertia_jb/handler.rb,
lib/inertia_jb/railtie.rb,
lib/inertia_jb/version.rb,
lib/inertia_jb/renderer.rb,
lib/inertia_jb/controller.rb
Overview
InertiaJb lets you declare Inertia.js props for your Rails frontend components inside view templates, using plain Ruby Hashes powered by the jb renderer.
A *.html.inertia template is Ruby code whose last expression is a Hash of
props. That Hash is handed straight to InertiaRails::Renderer, so every
Inertia protocol feature (partial reloads, optional/always/deferred props,
merging, shared data, key transforms) works out of the box.
Defined Under Namespace
Modules: Controller, Helper Classes: Handler, Railtie, Renderer
Constant Summary collapse
- VERSION =
"0.1.0"