Module: ViewComponentReflex
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/view_component_reflex/dom/reflex.rb,
lib/view_component_reflex.rb,
lib/view_component_reflex/engine.rb,
lib/view_component_reflex/reflex.rb,
lib/view_component_reflex/version.rb,
lib/view_component_reflex/component.rb,
lib/view_component_reflex/dom/verifier.rb,
lib/view_component_reflex/dom/component.rb,
lib/view_component_reflex/reflex_factory.rb,
lib/view_component_reflex/state_adapter/dom.rb,
lib/view_component_reflex/state_adapter/base.rb,
lib/view_component_reflex/state_adapter/redis.rb,
lib/view_component_reflex/state_adapter/memory.rb,
lib/view_component_reflex/state_adapter/session.rb
Overview
A redis based adapter for component_reflex
ViewComponentReflex::Engine.configure do |config|
config.state_adapter = ViewComponentReflex::StateAdapter::Redis.new(
redis_opts: {
url: "redis://localhost:6379/1", driver: :hiredis
},
ttl: 3600)
end
Defined Under Namespace
Modules: Dom, StateAdapter Classes: Component, Engine, Reflex, ReflexFactory
Constant Summary collapse
- VERSION =
'3.3.4'