Repository navigation
Upgrading from 2.0.0.rc1 to latest (2.3.1) breaks Lookbook previews when rendering partials inside a component #915
Unanswered
bryanadvisory
asked this question in
Help
Replies: 2 comments
|
Interesting. I wonder how Lookbook is calling Phlex. It may need to be updated to use the |
0 replies
|
Ok, so it seems like there are some hard constraints on Lookbook side for the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
With the new
render(partial...))syntax, we get aundefined method 'render' for nilI tracked down the issue and it seems to come from
phlex-rails-2.3.1/lib/phlex/rails/sgml.rb:94that does not resolve acapture_context, so it breaks when callingrender.This is how the partial is being rendered inside the component itself with the new syntax:
Any support would be appreciated!
All reactions