Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Cheikhany ould Ejiwen
i delete the file (registerServiceWorker.js) from my react project ... how can i generate new one ?
Sharon Shmorak
Hi, Is this the place for react newbies to ask dumb questions? I am interested mostly in understanding the underlying Functional Programming tricks.
i have theme provider inside root index.tsx how could i update the Theme form child
more like child child child
hi, i need help with local storage i created simple example codesnadbox i have problem with my custom hook thats should use local storage but doesn't update where it is used
Vivek krishna Varma
Any idea how we can identify based on some simple criteria(element attr, some meta info etc that need to be generic ) the hosted/deployed/running web-app is made of using react.
By looking / inspect / analyze we can say that the application running based on react application partially or fully.
e.g. like every angular app is identified using ng-version attribute ?
Vivek krishna Varma
one way i found window.REACT_DEVTOOLS_APPEND_COMPONENT_STACK var . looks like this is available only in case of react apps is this the good criteria ?
Vivek krishna Varma
any updates from anyone ?
how can i check user login in route ? Anyone help me :(((
Thai Le Dinh
it's so difficult :/
Julian Tellez
tip: type npx typescript-react in your command line to bootstrap a typescript plus react application from scratch :)
@thaild_gitlab you say right , very hard :(((
Sukhbold Altangerel
hello guys, can I ask beginner react questions here?
Patrick Sauerborn
Hey everybody, does anyone know of any examples where react-starter-kit was implemented in a real project and where the code is open source?
Hey, has anyone added Typescript to this project?
Hey, how can I config webpack to generate minified files in production? (yarn build --release, using docker "RUN yarn install --production --no-progress")
@adamsh25 OK I ran yarn build --release before running docker command and now I can see the files are minified but without the .min extension
I am new to react native .
I followed the below tutorial and got the slider working.
but the problem is when I run in ios simulator I see only one element
so I tried adjusting the container width to 50% in styles.
but not working.
one more thing is in simulator I need to click each item to swipe to left
its not working as normal swipe.
can you let me know how to enable the swipe in the simulator.
I debugged the code but not sure where I need to enable.
but in codesandbox swipe works fine
can you tell me how to fix it.
providing my code snippet and sandbox below
Rob Lifford
Anyone free to help me better understand some things about isomorphic-style-loader?
Burak Targaç
Hi guys,
trying to load data fetching on the server, how shoul I handle that by configuration? for exeample I want to define an array of actions and dispatch them on server side before returning the HTML response ?
Hamed Sedighi
Hi. anybody knows how can I solve the backgroundImage?
Hi Everyone, I have one dropdown with 2 options say A and B, and I have one card component page and have JSON which contains 2 objects one for A and another for B can anyone tell me how can I render object for A when user select option A from the dropdown and for B vice versa dynamically?
Burak Targaç
Hi @nitinknolder do you have the code on codesandbox or any platform reachable ? Or a repository url? Basically you have to listen change event on the select, then set the state to render corresponding component in the return block of the function component (thinking your component is stateless)
Muhammet Gazi Salık
how to disable robots.txt ?
Burak Targaç
by meaning disable I understand not to serve that file, is it right?
setStateFromInput = (event) => {
    const {  searchTerm } = this.state;
    const products = this.props.productData;

    const oldProducts = [...products]
    const newData =  oldProducts.filter(function(item){
        const term = searchTerm.toUpperCase();
        const itemName =;
        const sku = item.sku.toUpperCase();
        const category = item.category[1].toUpperCase();

        return (itemName.indexOf(term) > -1 || sku.indexOf(term) > 1 || category.indexOf(term) > 1);


        products: newData

How can I add paste funtionality as well currently its only filtering the when user is typing but I want that it also works on paste the term in Input field.?
anybody here have experience using isomorphic-style-loader/withStyles with a class hierarchy (derived extends base, both use withStyles)?
Aditya Gudipati
Hi @aaawtest . I am facing an issue with react-horizontal-stepper. Actually issue is, by default react-horizontal-stepper taking 0th index position item from steps object as an active step and remaining as disable steps. So, It needed some external button action to change the active step. But I need to change the active state by click on stepper itself without any help of button. And at the same time styling attributes are not working as expected. Can you please help me on How is it possible?
Burak Targaç
hi @Adityagudipati6_twitter, I checked RSK for the react-horizontal-stepper module, but couldn't find anything related to it, if there is a specific gitter chat / slack channel etc. you can find more people with stepper module knowledge imo
Burak Targaç
Has anyone made a NavLink component like react router dom library has?
RSK has a Link component in the boilerplate but it doesn't have an activeClassName prop to show it's active or not
I made Link component responding to active path of history but this time SSR generated classname and client side classnames differ
So for both ssr ans client side handling active classnames should be done with universal router's context as I guess
Burak Targaç
Has anyone tried docz to document components ?I have problems with configuration, any suggestion would be appreciated.
isomorphic style loader makes it hard to mock as a wrapped playground component
I dii ok t understand
Burak Targaç
@daldridge with useStyles hook you can give css files an hierarchy order, the latter overrides the previous rules, but I don't know how to handle it withStyles wrapper
Hello everyone
Is there an example of state management in RSK without using redux
Hi everyone, Can anyone share their perspective on why project issues are discussed here in Gitter instead of under the comments section of the issue report in the GitHub issue tracker?
Turn Your Code Into Your Digital Developer Profile & Get Hired Faster!
Join CodersRank Now And Let Your Work Speak For Itself, CodersRank helps you find your dream job and grow as professional!
Nick Anthony
Can anyone provide me with a rough idea of how to properly fork the apollo-pure branch?
Based on the docs it looks like you need to use the tracking PR here kriasoft/react-starter-kit#1666 Though it make sense, I'm not sure I've ever seen that before. Generally I'll just check out the branch. Wanted to double check that's the best way to go...
<Route path> not passing props like match and location in child element.. I have to use withRouter
hi all, iam using react-viewer package .. but it isn't support for ssr ..Please help me !!
Hi guys, the react starter kit generated from create-react-app causes crash on heroku. Should I set any buildpack when creating heroku app?
Nipuna Akalana Perera
I think react-starter-kit is a great project. In my requirement is I used frontend for this and I wish to use laravel for my backend. Is there any way to integrate both two. Thank you.