Skip to content

chore: Code Improvements聽#3

Open

Description

@pranshuchittora

Description

The project is in its initial phase, and the code is written with an idea of move fast and break things. So there are many possible improvements. Mentioning some but not limited to these only 馃槃

  • Inline styling to the stylesheet
  • Proper Scoping and Abstraction of composable components.
  • Improve folder structure, if any
  • Improve UI/UX

Activity

  1. iamsriranga commented on Nov 16, 2020

    @iamsriranga

    Hey @pranshuchittora, I would like to work on this, just wanted to know, which should I work among the options. Just assign me the problem so that I can work accordingly

  2. pranshuchittora commented on Nov 16, 2020

    @pranshuchittora
    MemberAuthor

    Thanks @saideepesh000 you can start by migrating the inline styling to style objects or css modules

  3. iamsriranga commented on Nov 17, 2020

    @iamsriranga

    @pranshuchittora, it would be better if we add CSS modules, it looks clean and beginner-friendly, what do you think.

  4. pranshuchittora commented on Nov 17, 2020

    @pranshuchittora
    MemberAuthor

    Ya sounds great 馃憤
    Go ahead and feel free to ping me on slack for any help/discussion :)

  5. iamsriranga commented on Nov 18, 2020

    @iamsriranga

    Hi @pranshuchittora, I am getting this error. It seems to the problem related to mdx, how can I tweak the node_modules or replace mdx. Sorry for this silly doubt. I am using windows(this might also be the problem). And according to this even though we are using react-app-rewired, it's not working for me. Please help me.

    Screenshot (283)

  6. pranshuchittora commented on Nov 18, 2020

    @pranshuchittora
    MemberAuthor

    No worries, let's connect on Slack to discuss and fix the issue.

    https://react-native-elements-slack.herokuapp.com/

  7. ARJUN-SABU commented on Mar 10, 2021

    @ARJUN-SABU
    Contributor

    Hi @pranshuchittora, I have gone through the issues mentioned above and i feel that i can start working on them.馃構

  8. shivambalwani commented on Mar 10, 2021

    @shivambalwani

    hey @pranshuchittora, I have started working on the issues mentioned above and will be contributing soon.馃槉

  9. pranshuchittora commented on Mar 10, 2021

    @pranshuchittora
    MemberAuthor

    Glad to hear that.
    It would be great if you

    • Open a draft PR while you are working
    • Make small PRs for fast review & merger
  10. Devesh21700Kumar commented on Mar 10, 2021

    @Devesh21700Kumar

    I鈥檝e started working on them and have made a PR for certain areas.. will fix the inline styling and stuff in the next PR

  11. abhishekkumar08 commented on Mar 12, 2021

    @abhishekkumar08
    Contributor

    Hi @pranshuchittora, I am getting this error. It seems to the problem related to mdx, how can I tweak the node_modules or replace mdx. Sorry for this silly doubt. I am using windows(this might also be the problem). And according to this even though we are using react-app-rewired, it's not working for me. Please help me.

    Screenshot (283)

    Hey @pranshuchittora @saideepesh000 I'm facing the exact issue, did you found the solution? I search the slack chats but couldn't find it. If any solution please tell me.

  12. Devesh21700Kumar commented on Mar 12, 2021

    @Devesh21700Kumar

    Hi @pranshuchittora, I am getting this error. It seems to the problem related to mdx, how can I tweak the node_modules or replace mdx. Sorry for this silly doubt. I am using windows(this might also be the problem). And according to this even though we are using react-app-rewired, it's not working for me. Please help me.
    Screenshot (283)

    Hey @pranshuchittora @saideepesh000 I'm facing the exact issue, did you found the solution? I search the slack chats but couldn't find it. If any solution please tell me.

    import importMDX from "mdx.macro";
    use it to work locally

    while pushing convert it back to
    import {importMDX} from "mdx.macro"; to avoid build errors
    @pranshuchittora this is what i did.. and i think its the best solution right now unless tsc migration is made

  13. abhishekkumar08 commented on Mar 12, 2021

    @abhishekkumar08
    Contributor

    @Devesh21700Kumar yeah it did worked 馃殌 , but had to change three instances of it to run.

     src/content/Avatar/index.jsx
     src/content/Badge/index.jsx 
     src/content/Button/index.jsx
    
  14. Devesh21700Kumar commented on Mar 12, 2021

    @Devesh21700Kumar

    Great.. yes i know. and before pushing revetr it back to import {importMDX} or it will give build error

    @pranshuchittora the build error in my PR yesterday was due to this only.. so tweaked a bit to find a solution 馃殌

  15. jugshaurya commented on Apr 16, 2021

    @jugshaurya
    Contributor

    Hi @pranshuchittora, I am getting this error. It seems to the problem related to mdx, how can I tweak the node_modules or replace mdx. Sorry for this silly doubt. I am using windows(this might also be the problem). And according to this even though we are using react-app-rewired, it's not working for me. Please help me.
    Screenshot (283)

    Hey @pranshuchittora @saideepesh000 I'm facing the exact issue, did you found the solution? I search the slack chats but couldn't find it. If any solution please tell me.

    you should

    • delete node_modules and package.lock.json file
    • then run npm i twice(yes twice)
    • then delete node_modules once
    • then npm i
    • then npm start
      It should fix this error!!.

    or
    wait for it #97 to be merged.
    Yes, I know it is weird,

  16. vikasazad commented on Dec 6, 2021

    @vikasazad

    Hi @pranshuchittora I also wanted to be help in this can i?

  17. added a commit that references this issue on Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions