Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 10 2018 02:41
    Naiba01 commented #1157
  • Sep 05 2018 18:37
    govarthananve commented #1080
  • Sep 05 2018 17:12
    carloquilala opened #1349
  • Aug 07 2018 11:42
    carloquilala edited #1348
  • Aug 07 2018 11:14
    carloquilala opened #1348
  • Jul 31 2018 06:46
    zaoansijia commented #1347
  • Jul 13 2018 01:45
    gapsaras commented #842
  • Jul 12 2018 10:08
    grootendorste commented #930
  • Jul 02 2018 15:06
    aozfen commented #1092
  • Jun 25 2018 17:25
    olliecaine27 closed #1268
  • Jun 03 2018 17:30
    olliecaine27 synchronize #1268
  • Jun 03 2018 17:16
    olliecaine27 synchronize #1268
  • May 22 2018 05:14
    ishan123456789 commented #1220
  • May 19 2018 08:38
    MirShi opened #1347
  • May 14 2018 19:53
    samanthi22 closed #1346
  • May 14 2018 19:53
    samanthi22 commented #1346
  • May 05 2018 17:33
    samanthi22 opened #1346
  • Apr 22 2018 09:28
    m-ketan closed #1319
  • Apr 20 2018 00:40
    matthew-dean commented #658
  • Apr 02 2018 12:36
    AndrewSavetchuk commented #1080
arumugapandiyan
@arumugapandiyan
Hi any one using create react app.. I have small doubts??
Kasper Meilgaard
@d1gits
Hi, quick question, I want to have some sort of preloading for assets imported in scss with this starterkit. Would react-preload work?
13colours
@13colours
is there any example of react-reformed normalizr and react-redux-starter-kit used together?
Naitik Soni
@naitik211
Hi, I am facing error of mutation while updating array of objects in reducer
Can anyone help me out?

``` function booksReducer(state = [], action) {
switch (action.type) {

case ACTIONS.ADD_BOOK:
return [...state, Object.assign({}, action.bookData)];```

Daniel Winter
@lucidlemon
Hi guys
do I need to activate something to import plain css to a component?
like I'd need a basic .css which a npm component provides
but doing the import doesnt seem to include it
( import 'react-trumbowyg/dist/trumbowyg.min.css'; )
Tobias Lundgren
@lundgren2

Hi, I have a parent component that have access to all my actions. But I need some actions available by the child component.
What is best practice here?

Send it as a prop:
<Component action={this.props.action} />

or import it?

import * as action from './actions.js'

Or should I use:

connect(
  mapStateToProps, mapDispatchToProps
)(component);
Roman Pearah
@neverfox
@lundgren2 That's really a philosophical question, but I would recommend reading this: https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0
Tobias Lundgren
@lundgren2
Thanks @neverfox :) I'll take a look at it!
Sagar Amrutkar
@SagarSAmrutkar_twitter

Hi guys..

Object.assign({}, defaultStyle, ...customStyle, {overlay: {...customStyle.overlay, zIndex: 99}})

this line gives an error on IE like 'Object does not support property or method 'from''

here i need to add one custom property to overlay object
here is the object structure:-

{
  overlay : {
    position          : 'fixed',
    top               : 0,
    left              : 0,
    right             : 0,
    bottom            : 0
  },
  content : {
    position                   : 'absolute',
    top                        : '40px',
    left                       : '40px',
    right                      : '40px',
    bottom                     : '40px'
  }
}

can anyone help me on this ?

Roman Pearah
@neverfox
@SagarSAmrutkar_twitter Object.assign isn't supported in IE. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign. Consider a polyfill if you need to support that browser.
Hader Cardona
@haderman
Hello everyone, someone has used this starter-kit with electron?
James Pearson
@jamespearson
Hey Guys :)
I want to put a search box in my CoreComponent / PageLayout, that fires the search on the active component. Any suggestions on the best way? Or should I redux it to a connected property?
Anton Titov
@titovanton
Hi guys, i have a question about: how to subscribe to a specific key of the store? I've googled it, found that Redux does not provide this feature, also i googled, this: https://github.com/ivantsov/redux-subscriber
who think what about this issue? is it ok, to forceUpdate all components, if in fact we need to update only one, but we dont knew that?..
is the redux-subscriber - a common practice which i have to use, or it is a bad practice?
The author of the redux says something similar to that(https://github.com/reactjs/redux/issues/303#issuecomment-125184409), but answer the question, which is not mine...
Roman Pearah
@neverfox
@titovanton It depends on what you want to accomplish. There might be some valid use cases for that kind of thing but it strikes me as somewhat counter to the philosophy of this kind of state management. Why can't you accomplish what you want to do with selectors and props?
Stevegolden12
@Stevegolden12
Hello,
Does anyone have any suggestions on learning Redux? I hear the documentation is pretty good.
Stevegolden12
@Stevegolden12
Trying to add dynamic parsed string to a div like '<h1>Heading</h1>' to a div. It just displays the string and doesn't recognize the html tags. Anyone have any suggestions?