react-on-rails Questions
2
Solved
I am trying to integrate react-slick slider into my ReactJS application.
Its working as expected when I integrate it into a new demo app, but if I integrate it into my own application it throws an...
Carswell asked 15/5, 2017 at 4:59
1
Solved
I am using axios on a React w/ Hooks front end to make a get request to populate my react-google-maps/api GoogleMaps Marker components using seed data in my rails backend. When I let the rails serv...
Irish asked 22/5, 2020 at 16:28
2
yarn install v0.21.3
[1/4] Resolving packages...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retr...
Millimicron asked 28/3, 2017 at 5:11
1
We are using React on Rails within our Rails app. When we deploy, asset pre-compilation takes ~20 minutes.
Based on the deploy logs, it appears as though most of this time is spent pre-compiling ...
Volva asked 7/4, 2018 at 20:47
2
Solved
I'm a React newbie trying to integrate React into a Rails site. I have a CommentForm component at the very top of the page/html, and a Comments component at the bottom of the same page. At present,...
Beckmann asked 17/1, 2018 at 14:0
3
I am trying to pass a value from the render function to the component:
= react_component('App', props: {test: 'abc'}, prerender: false)
Routes.jsx
<Route path="/" component={App} >
App....
Braxton asked 14/11, 2017 at 22:10
1
Consider this code snnipet:
<%= form_for @survey do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %><br />
<%= f.text_field :name %>
</p>
<...
Judsonjudus asked 9/1, 2017 at 8:36
1
Solved
I've a locale file in my Rails application that works fine with Rails, but when I tried to use it with react_on_rails rake task (rake react_on_rails:locale) I'm getting this error:
Psych::BadAlias...
Swash asked 24/3, 2017 at 13:19
1
© 2022 - 2024 — McMap. All rights reserved.