Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Code Improvements #3

Open
pranshuchittora opened this issue Nov 10, 2020 · 16 comments
Open

chore: Code Improvements #3

pranshuchittora opened this issue Nov 10, 2020 · 16 comments
Labels
good first issue Good for newcomers

Comments

@pranshuchittora
Copy link
Member

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
@pranshuchittora pranshuchittora added the good first issue Good for newcomers label Nov 10, 2020
@saideepesh000
Copy link

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

@pranshuchittora
Copy link
Member Author

pranshuchittora commented Nov 16, 2020

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

@saideepesh000
Copy link

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

@pranshuchittora
Copy link
Member Author

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

@saideepesh000
Copy link

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)

@pranshuchittora
Copy link
Member Author

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

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

@ARJUN-SABU
Copy link
Contributor

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

@shivambalwani
Copy link

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

@pranshuchittora
Copy link
Member Author

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

@Devesh21700Kumar
Copy link

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

@abhishekkumar08
Copy link
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.

@Devesh21700Kumar
Copy link

Devesh21700Kumar commented Mar 12, 2021

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

@abhishekkumar08
Copy link
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

@Devesh21700Kumar
Copy link

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 馃殌

@jugshaurya
Copy link
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,

@vikasazad
Copy link

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

flyingcircle added a commit that referenced this issue Dec 23, 2021
fix part of #3: created seperate css file for explore page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

8 participants