react-rails Questions
1
I am getting:
error An unexpected error occurred: "Invalid value type 2:0 in /Users/myname/Desktop/work2/reservations_fully_paid/Foggle/yarn.lock".
info If you think this is a bug, please...
Rodrigues asked 26/1, 2022 at 11:44
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
2
I'm using react_component in my Rails project. This inserts a wrapping div for the react.js component, e.g.
<div data-react-class="ButtonSwitchToTab" data-react-props="{...}">
<a href="#...
Campinas asked 26/6, 2015 at 2:25
4
Solved
I am trying to change the height of the textarea as per the content height. I see that the event handler doesn't change the height since it is getting overwritten by the bootstrap style. Please hel...
Bangka asked 19/10, 2017 at 11:2
3
I'm trying to use the Ace editor in my Ruby on Rails app, with majority of the view composed as React components. I'm using the react-rails gem and I'm not using flux at all.
I found this react-a...
Countersink asked 13/4, 2016 at 15:14
1
Solved
So i already imported the application.scss with the tags
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_pack_tag 'application', media: 'all', '...
Cherice asked 1/3, 2020 at 2:33
3
I created example project react-rails with webpacker. but show error "Uncaught ReferenceError: Person is not defined". help me How use react-rails with webpacker?
The processing I performed is as f...
Exaggerated asked 22/4, 2017 at 10:35
1
Solved
I've added react-rails to an existing project that we're slowly migrating over to react.
Current webpacker.yml
default: &default
source_path: app/javascript
source_entry_path: packs
publi...
Wightman asked 14/2, 2019 at 19:4
2
Solved
I want to get attribute from my select option list.
In meanwhile my code is like below :
var Billing = React.createClass({
getInitialState() {
return {
associations: [],
value: '',
associa...
Carlenecarleton asked 5/4, 2017 at 5:29
1
Solved
I am attempting to create a d3 pie chart based off of this resource.
However, I get the following error:
Uncaught Type Error - Cannot read property 'pie' of undefined
My code:
class PieChart...
Bred asked 1/11, 2016 at 10:30
8
I'm trying to get react connected into my app. Its a rails app using rails-react (though I don't think that's part of the problem). I'm currently using a very simple 1 component setup:
// react_ad...
Enarthrosis asked 29/10, 2014 at 10:14
1
Solved
I am using react-rails gem to work with ReactJS for Rails.
The weird thing is if I set a non-empty value property when rendering React component, the input field won't receive any keyboard event
T...
Adams asked 11/1, 2016 at 3:21
1
Solved
I am trying to render the errors in the form if the ajax call to the form URL fails. Below is my Admin component:
#app/assets/javascripts/components/admin.js.coffee
@Admin = React.createClass
# pro...
Ammunition asked 12/3, 2016 at 10:28
1
I've gotten used to using slim and jade and I recently moved to writing applications on the front end with React and find that now I'm writing bloated HTML again inside my components. I'm currently...
Cathryncathy asked 13/12, 2015 at 18:7
1
Solved
I would like to use the material-ui component library in my Rails 4 app. I am currently using the react-rails gem to add .jsx compilation to the asset pipeline. I have added material-ui via rails-a...
Janey asked 30/10, 2015 at 23:21
2
I already have Rails API controller which return JSON response. It is used by front-end Javascript (as well as mobile app) to render values.
Now, I wish to prerender those values using ReactJS:
#...
Mouse asked 29/9, 2015 at 11:41
1
Solved
I'm looking to implement ReactJS as the view of my Rails application with the gem react-rails.
So far, I've only used the standard .erb to render my views in my RoR application and I am wondering s...
Veljkov asked 25/7, 2015 at 16:6
2
Solved
I came upon this:
https://github.com/ssorallen/turbo-react
And I like what it does, I am just a bit confused about how I use this code within my Rails project that currently uses the React-Rails ...
Crypt asked 24/4, 2015 at 15:31
1
I am learning Reactjs. I have implemented one sample react app with rails. I have search a lots to find the solution but I didn't find any. I wanted to call another component from onClick function....
Cleromancy asked 28/4, 2015 at 12:19
3
Solved
I am trying to create client side validation with ReactJS on my registration form. I am using http://validatejs.org/ library for validations along with https://github.com/jhudson8/react-semantic-ui...
Ailment asked 24/1, 2015 at 5:37
1
© 2022 - 2024 — McMap. All rights reserved.