Data dodania Pytanie
2017-11-18 16:11 Webpack + React16 + Javascript ES6 "Unexpected token" error »
I know this question was asked about thousand times, but I didn't find any solution that works. I'm still getting the same error. Here are my config f...
(1) odpowiedzi
2017-11-18 07:11 React 16 setState method clarification »
I was reading the react 16 features. I stuck on the below point. can anyone please clarify the below point. setState callbacks (second argument) n...
(1) odpowiedzi
2017-11-18 04:11 How to show the only part of the image »
UPDATE Since the question was complicating and unclear, I'm rewriting my question to make it much simpler. Given image (image uri for entire ima...
(1) odpowiedzi
2017-11-17 18:11 Redux/Java: Managing normlized data & multiple model representations per entity »
We are building a new app using React/Redux which is rendered server side. We wish to follow best practice for Redux and normalize our data on the se...
(3) odpowiedzi
2017-11-17 13:11 Track events in Reactjs pages and components globally »
I need to listen to following events and do action accordingly Form submit event - if the form submission is successful, I need to broadcast success...
(1) odpowiedzi
2017-11-17 11:11 What is the difference between func() => {} and func = () => {} in class? »
I'm learning to use Class syntax now to create React components now and notice I now have to declare methods like this: class Foo extends React.Compo...
(2) odpowiedzi
2017-11-17 05:11 JSX Component + dangerouslySetInnerHTML? »
So I am having trouble implementing this scenario: From the backend server, I am receving an html string, something along like this: <ul><l...
(2) odpowiedzi
2017-11-17 04:11 React components not getting displayed on running the code in asp.net »
I am new to react. I have created a simple form with reactjs in mvc asp.net. But on execution, react components are not getting displayed in the webpa...
(1) odpowiedzi
2017-11-16 22:11 Is it okay to treat the prevState argument of setState's function as mutable? »
I know this.state is not supposed to be modified directly, instead setState should be used. From this I inferred that prevState should be also treate...
(1) odpowiedzi
2017-11-16 15:11 How to post form data from reactjs to controller in mvc asp.net »
I am new to React. I am trying to create a form in asp.net with react. when posting form data from reactjs to controller in mvc asp.net, the data is n...
(1) odpowiedzi
2017-11-16 13:11 Spring Boot: Image upload (with ReactJs and Axios) - File is damaged, corrupted or too large »
Hey guys I need some explanation what's wrong with my Code! But first of all I have to say that I'm neither an expert at spring nor at uploading files...
(0) odpowiedzi
2017-11-15 16:11 Extract element value in react »
calling function onclick event <th onClick={this.sort}>Grades</th> and in Function, trying to get the value of text. sort(e){ co...
(1) odpowiedzi
2017-11-15 16:11 PropTypes isRequired on React Router 4 params prop »
I have props been passed from React router in its match > params object which I want to be set in my static propTypes as a required string value. Whe...
(1) odpowiedzi
2017-11-15 15:11 How to split app and vendor code with Webpack »
I'm starting a new project with react So I have this webpack.config.js file that's supposed to hundle 2 chunks , one for the app code and one for ven...
(1) odpowiedzi
2017-11-14 15:11 Is this actually mutating the state? »
I've just put together a really basic bit of React functionality to show someone and my console tab is accusing me of mutating the state directly. I ...
(4) odpowiedzi
2017-11-14 12:11 this.setState not working when a parent's state has to be updated by a child »
So I have a parent and a child component in my app. I want to update the state of the parent component by the child component but it doesn't seem to w...
(2) odpowiedzi
2017-11-14 02:11 In React, Is it possible to get access to Redux action creators from inside a utility function? »
I have a form input validation function that just returns an empty errors object or a populated errors object. const validate = function validateSome...
(3) odpowiedzi
2017-11-13 19:11 Datepicker for React-Strap »
I am using react-strap npm package to use Bootstrap 4 components in my React app. When I try to add the datepicker react-bootstrap-date-picker npm i...
(1) odpowiedzi
2017-11-13 17:11 Bulk updating normalized Redux state »
Let's say I have normalized state like this (using normalizr) entities: { todos: { 'aaa': { id: 'aaa', text: 'Todo A', comple...
(3) odpowiedzi
2017-11-13 17:11 What happens when a React app, which contains Flow annotations, is launched? »
I'm relatively new to web development. I have a react app which makes use of the usual JSX components. These get compiled to regular html and JavaScri...
(1) odpowiedzi
2017-11-12 21:11 Show initial state in redux? »
I have a simple redux/react app. It works fine except it doesn't show the initial state (the users scores). Grateful for any help! The reducer is be...
(1) odpowiedzi
2017-11-12 20:11 this.props.onPress is not a function »
I have a HomePage.js which contains About Us button, and when I click on that button I want to show AboutUs.js. The HomePage.js is displayed correctly...
(1) odpowiedzi
2017-11-12 16:11 reduxForm - initialValues did not apply after update »
I use Redux Form Version 6.8.0. I have a form component which get's it's "initialValues" via a "mapStateToProps" function. On the first render everyt...
(1) odpowiedzi
2017-11-11 19:11 Get data from Redux Store after data has been added »
I am using a boilerplate called trufflebox's react-auth where getWeb is called on loading the page (Link to code) which creates the web3 object (Li...
(2) odpowiedzi
2017-11-11 11:11 Custom props is undefined in React router-4 »
I am new to react. I create a route <Switch> <Route path="/login" exact render={(props) => (<LoginPage test="hi" {...props}/>)}...
(1) odpowiedzi
2017-11-11 08:11 Getting 404 error while call oAuth2 api in the browser »
I used ruby on rails to make RESTful api and also used doorkeeper to handle authentication and authorization. As you know the doorkeeper generate some...
(2) odpowiedzi
2017-11-11 01:11 FP alternative to polymorphism in JavaScript/ReactJS »
I'm currently working on a ReactJS project where I need to create "re-usable" components in which some of the methods would need to be "overridden". I...
(3) odpowiedzi
2017-11-10 14:11 React.js: Inline styling of particular elements of an SVG? »
I'm in the process of learning React right now, and I'm importing an SVG usig "svg-react-loader". I was wondering if there is a way to style parts of ...
(1) odpowiedzi
2017-11-10 14:11 jQuery not working (ReactJS, Bootstrap, Webpack) »
Using a create-react-app ejected project. I'm following this other stackoverflow answer: Using Jquery and Bootstrap with Es6 Import for React App Th...
(1) odpowiedzi
2017-11-10 00:11 what does <{}> mean at the end of extension in javascript? »
I encountered the following syntax in one of the tutorials for react-native. Declaration of the component which looks like: export default class App ...
(3) odpowiedzi
2017-11-09 22:11 React Native - binding a function to this »
Im using react native 0.48 and I was wondering if the following is possible. So my intention is to make my code a little bit more reusable. I have 4 ...
(5) odpowiedzi
2017-11-09 15:11 React Router: Active Link not matching the URL »
I am following the example of react-redux: Adding React Router to the Project components/Root.js import React from 'react'; import { Provider } fro...
(1) odpowiedzi
2017-11-09 10:11 TypeScript - 'Element' is not assignable to HTMLInputElement »
I am working with TypeScript and React. In my component, which is a dialog window, I want to store the trigger element, such as a button as a property...
(2) odpowiedzi
2017-11-08 22:11 General questions from a newbe learning react »
Struggling a little with React. Have the following questions: Does the virtual dom always have to re render all the nodes below the node that's been...
(1) odpowiedzi
2017-11-08 16:11 event.target.form returns null in Internet Explorer »
I am building a complete dynamic rendering web application using ReactJS. In a case, I need to get the form elements on click action. So, I used even...
(0) odpowiedzi