Giter Site home page Giter Site logo

casestudy-reactjs-part2's Introduction

ReactJS - CASE STUDY - Part 2

CHECK IT OUT LIVE: https://ognjen-radisic-reactjs-project.netlify.app/

link to part-1: https://github.com/Ognjen-Radisic/CaseStudy-VanillaJS-Part1

In part-1 goal was to make a full project while only using vanilla js (no external ui librariries), html and sass. In part-2 I'll make the same project using React and sass. And we can compare the differences, in app structuring, code readability and simplicity in different aspects of making the same thing in a different way (with different technologies).

Things specific in part-2 with react

  • Sass structuring, using partials, and a variant of 7-1 pattern for structuring scss code.
  • Changed styling, now its more compact and it has better UX.
  • React structured and broken down into units in separate folders, with each having its own components.
  • Assets better structured to improve readability and to figure out faster which asset belong to which component.
  • Added global context for changing currency functionality and switching tabs in tabClasses component.
  • Only external librabry added to project is aos (animation on scroll), and played around displaying offer cards with different delays.
  • It's easily scalable, we can add more pages by simply adding new component in pages folder, and structure components to belong to its own page or to be shareable components like navbar or footer.

casestudy-reactjs-part2's People

Contributors

ognjen-radisic avatar

Watchers

 avatar

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.