lib/isomorfeus-react.rb in isomorfeus-react-16.13.0 vs lib/isomorfeus-react.rb in isomorfeus-react-16.13.1
- old
+ new
@@ -98,13 +98,15 @@
end
Isomorfeus.server_side_rendering = true
# cache
- require 'isomorfeus/thread_local_cache'
+ require 'isomorfeus/thread_local_component_cache'
require 'isomorfeus/react_view_helper'
- Isomorfeus.component_cache_class = Isomorfeus::ThreadLocalCache
+ Isomorfeus.component_cache do
+ Isomorfeus::ThreadLocalComponentCache.new
+ end
Opal.append_path(__dir__.untaint)
require 'concurrent'
require 'zeitwerk'