-
Notifications
You must be signed in to change notification settings - Fork 214
Rendering Blank #99
Comments
@JPWallhorn do you get any errors/messages in the console at all? |
No, this is what I see when I look at the page source
The console is blank. |
I notice that you're directly calling Side note: I also notice you refer to |
I just had this exact issue (at least in terms of the symptoms/output) and the solution was moving the I hope that helps and good luck! |
Hey guys,
I might be just doing something wrong but when I implemented the hypernova setup, all I see is a blank screen. This is the current source code that is getting rendered. I'm using Ruby on Rails & React.
<div data-hypernova-key="indexjs" data-hypernova-id="4d2cf94b-7e2b-4bea-8cf7-24f94af855ef"></div> <script type="application/json" data-hypernova-key="indexjs" data-hypernova-id="4d2cf94b-7e2b-4bea-8cf7-24f94af855ef"><!--{"name":"Hypernova The Renderer"}--></script>
My index.erb.html has the following code:
<%= render_react_component('index.js', :name => 'Hypernova The Renderer') %>
The react app is leveraging Webpack and the React app is fully in the 'public' folder of my Rails app. I've tried it with the index.js and AppProvider.js file in the rails configuration.
Here's my index.js source code:
and this is my app_provider.js
The text was updated successfully, but these errors were encountered: