Code Monkey home page Code Monkey logo

Comments (9)

LaveshK11 avatar LaveshK11 commented on August 17, 2024 3

We can put few things such as header , footer , nav in a command folder that can also do ?

from informatician.

k-deepak04 avatar k-deepak04 commented on August 17, 2024 1

@LaveshK11 organize the file structure
and add function based code without changing the working
test it before filing a PR
also make structure like

it should look like this
image

from informatician.

k-deepak04 avatar k-deepak04 commented on August 17, 2024 1

components inside layout inside that footer,header and side nav
pages inside that pagname folder inside that js and css file

from informatician.

kailashchoudhary11 avatar kailashchoudhary11 commented on August 17, 2024 1

@LaveshK11 Yeah, you can convert the class Based components to function-based components. Also, change all the function-based components to a single format, that is in some files we're using arrow functions. You can change everything to
export default function function_name() this format. You can structure the project into pages and components. The header, footer, etc can be placed into components directory and Home, About, etc in the pages directory. Also test the code properly before making the PR.

from informatician.

LaveshK11 avatar LaveshK11 commented on August 17, 2024

I wanted to ask that can i convert code into functional based component or if you want me to keep it in a class-based component

from informatician.

LaveshK11 avatar LaveshK11 commented on August 17, 2024

any update ?

from informatician.

rohansx avatar rohansx commented on August 17, 2024

@kailashchoudhary11 any thoughts on this?

from informatician.

LaveshK11 avatar LaveshK11 commented on August 17, 2024

okay sure ill do it
thanks

from informatician.

LaveshK11 avatar LaveshK11 commented on August 17, 2024

I have made pr please check
Thanks
@rohansx @k-deepak04

from informatician.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.