Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    FOLASAYO SAMUEL OLAYEMI
    @Folasayo-Samuel
    Hello
    MERN Micro Framework
    @mernjs

    Hello Everyone, MERN Stack Boilerplate provides starter kits for building web, desktop and mobile apps in pure JavaScript.

    https://www.npmjs.com/package/create-mernjs-app

    If you have any query or suggestions. Please let me know.

    Mayank Aggarwal
    @Mayank0255_twitter
    https://twitter.com/Mayank0255
    Soon will start sharing some dev related stuff🎉
    KasimMalik
    @KasimMalik
    hii
    Mayank Aggarwal
    @Mayank0255_twitter
    Xarri Jorge
    @xarrijorge
    :wave:
    MERN Micro Framework
    @mernjs

    Hello Everyone,

    MERN Micro Framework provides starter kits for building web, desktop and mobile apps in pure JavaScript.

    https://www.npmjs.com/package/create-mernjs-app

    If you have any query or suggestions. Please let me know.

    Jeff Sharn
    @jeff_sharn_gitlab

    Hi everyone,
    What are you using for functional testing?
    I came across this list of tools:
    https://medium.com/@jimbo.scott/5bfaa2ef3c27

    Has anyone tried one of those?

    Olsi Hoxha
    @olsihoxha
    Can anyone please tell me some proper documentation or articles to learn more about redux, I have already checked the official docs
    elad ben aderet
    @eladonline
    @jeff_sharn_gitlab "Cypress"
    Jeff Sharn
    @jeff_sharn_gitlab
    Hi @eladonline
    No, thanks.
    I tried it, but I need a tool that can run tests on Safari and in multiple browser tabs (I have some complex flows).
    Eric Blade
    @ericblade
    @jeff_sharn_gitlab you asked what we are using. :-) i'm also using cypress for most things. i just inherited a package that was using react-testing-lib and jsdom, and that kinda didn't really work well, so i'm converting it to cypress. i use cypress for any other projects that have browser targets.
    I think the only option for Safari is Selenium
    Jeff Sharn
    @jeff_sharn_gitlab
    Eric Blade
    @ericblade
    works fine for me :) i don't need to test in safari though
    Joy Ayitey
    @CharaD7
    Hi everyone, happy to be here. I am just starting out with REACTJS and hoping to be up and running ASAP. I will be in your care
    FOLASAYO SAMUEL OLAYEMI
    @Folasayo-Samuel
    Hello everyone.
    I'm Samuel.
    A MERN FULL-STACK DEVELOPER.
    I will like to learn more from the platform. I believe I'm welcome here.
    Bharath J R
    @Bharathjr12
    array is not updating inside the child component i am usign redux to fetch the customer list in both customer(main component) and in cust-cancel-model component can any one help.
    Mike Mahon
    @jetstreamin
    I am trying to understand I guess how to expose addStatus as a function to these other modules from server.js
    Jeff Smith
    @smithhjeff_gitlab
    The cost of hiring freelancers is less compared to hiring developers from firms but you lose the added benefits that come along. If you hire reactjs developers from such a company, then they will stay in touch with you even after developing your project.
    5P4RK3R
    @5P4RK3R
    Hi guys, anyone used rtkquery with '@closeio/use-infinite-scroll'?
    PakDragoon
    @PakDragoon
    I am working on react project. I am recording a video with react-media-recorder package. Now i want to store the recorded video direcrly into the mongodb. Does anyone have knowledge about where that video blob is getting stored?
    brahimkraiem
    @brahimkraiem
    hi how can i change language for react salesforce Datepicker https://react.lightningdesignsystem.com/components/date-pickers/
    kothaooru
    @kothaooru
    How can you have a context which say stores selectedItem and has 100 items which subscribe to it , how can we not trigger re-renders across items when selectedItem changes
    5P4RK3R
    @5P4RK3R
    Hey guys, How to update state in react portal component??
    Jeff Sharn
    @jeff_sharn_gitlab
    @jeff_sharn_gitlab
    hey React fam, what should we use to build automated end-to-end cross-browser tests?
    we want the tests to run on all major browsers (including Safari) and we have scenarios that involve multiple browser tabs
    we're looking at endtest.io right now, but I want to have a few other options
    5P4RK3R
    @5P4RK3R
    Hey guys, in react an array of objects , ex: table = [{
    Header:"sample", cell: ({valur}) => ( <span>value</span>),className: ({value}) => getcolor(value)]. The console.log of class Name returns _ref28 => {
    let {
    value
    } = _ref28;
    return getColor(value) }. How to get the getcolor(value) output for class Name???
    Marco Colia
    @justoverclockl
    hello guys, i'm practice redux toolkit since 2 days...but is complicater...can someone help me and point me into a right direction? i've created this slice
    
    import { createSlice, createAsyncThunk } from '@reduxjs/toolkit'
    
    export const getProducts = createAsyncThunk('products/getFruits', async () => {
        const url = 'MY API URL'
        const response = await fetch(url)
        const data = await response.json()
        return data
    })
    
    export const initialState = {
        fruits: [],
        isLoading: false,
    }
    
    export const storeState = createSlice({
        name: 'products',
        initialState,
        extraReducers: (builder) => {
            builder
                .addCase(getProducts.pending, (state) => {
                    state.isLoading = true
                })
                .addCase(getProducts.fulfilled, (state, action) => {
                    state.fruits.push(action.payload)
                    state.isLoading = false
                })
                .addCase(getProducts.rejected, (state) => {
                    state.isLoading = false
                })
                .addDefaultCase((state, action) => {})
        },
    })
    
    export default storeState.reducer
    now....how can i call the store into a component?
    Aaron Beall
    @aaronbeall
    Is it possible to preserve type args in connect()? I have a component that takes a type arg on props, but when wrapped in connect() it gets lost, something like
    type MyCompProps<T> = { value: T; onChange(value: T); }
    
    <MyComp value={ 25 } onChange={ val => {/* val will be contextually typed to `number` ✅ */} }/>
    
    const MyContainer = connect(stateToProps, dispatchToProps)(MyComp)
    
    <MyContainer value={ 25 } onChange={ val => {/* val is now `any` ❌ */} }/>
    Bijan Parsiyar
    @bijanparsiyarr
    hi guys does anybody want to pair program? I am a CS student currently in Uni.
    1 reply
    unsama
    @unsama
      function getUserData () {
        let ref = database.ref("/buyers");
        ref.on("value", snapshot => {
          const arr = Object.entries(snapshot.val());
          arr.forEach(([key, value]) => {
            console.log(value)
          })  
        });
      };
    this is my code i want to push this data in to react bootstrap table next, can anyone help me
    image.png
    check console also
    i used products.push(value) but it didnt work
    const products = [];
      const columns = [
        {
        dataField: 'id',
        text: 'App Ref'
        },
        {
        dataField: 'testdate',
        text: 'Test Date'
        },
        {
        dataField: 'testcenter',
        text: 'Test Center'
        },
        {
          dataField: 'canceldate',
          text: 'Cancel Date'
        },
        {
          dataField: 'name',
          text: 'Candidate Name'
        },
        {
          dataField: 'status',
          text: 'Candidate Name'
        },
        {
          dataField: 'price',
          text: 'Candidate Name'
        },
        {
          dataField: 'buyer',
          text: 'Buyer'
        },
    
    ];
    Jeff Sharn
    @jeff_sharn_gitlab
    works for me
    Junior
    @Muhammad-Waleed-Hafeez
    image.png
    hi there i'm new to reactjs and don't know how to read this console returning resylt data
    is there anyone who can help me or guide me on this. doesn't matter if you have any reference link please let me know.
    zhuijing
    @zhuijing
    汉兜弹幕版,https://b23.tv/BggRC8S
    abdessalamboulayat
    @abdessalamboulayat
    hi everybody, I use RestController in Spring boot when I want to fetch a web service that get data from mysql shows this error: :ERR_INCOMPLETE_CHUNKED_ENCODING 200
    abdessalamboulayat
    @abdessalamboulayat
    hi everybody,
    I want to make a dashboard using react js, and I need your help, if there is libraries that help in dashboard, please share with me them. Or examples of dashboard for inspiration.