Giter VIP home page Giter VIP logo

react-photogram's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Andres
  • ๐Ÿ‘€ Iโ€™m interested in ...
  • ๐ŸŒฑ Iโ€™m currently learning ReactJS, React NAtive, VueJS, Vuex.
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on what ever I can be useful :)
  • ๐Ÿ“ซ How to reach me [email protected]

react-photogram's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

react-photogram's Issues

Suggestions

howdy ๐Ÿค 

finally got around to taking a look and I must say, the code structure looks vaguely familiar ๐Ÿ˜† looks good though! only a few things I wanted to point out. I'm not totally sure what you intend on doing with this or how far you're planning on going, but off the top of my head, here are a few things (feel free to ignore, of course!):

  1. I'm seeing most everything is hardcoded styles (which makes total sense, most of my side stuff is the same). just noting that moving some of the shared styles and things (like font sizes, colors, margin sizes, etc.) to a common styles folder/file sooner than later will help adding to it in the future. I know this from experience ๐Ÿคช
  2. related: I see most everything is set up for desktop view (which also makes sense). but similar to the above, establishing some of those mobile view styles sooner than later will save you some headache later on - unless you don't intend on doing mobile, which is totally fine too!
  3. I noticed uploading an image isn't tied to a user? (at least that I could find). that might be good - if you have users, you might as well track who uploaded it and then you could display the person who added the image (or at least the email for now) and then have the ability to do things like see all images from a user, or prevent deletes from a different user.
  4. I see you're using <i> tags for the icons - I know bootstrap and some libraries use that to stand for icon but <i> is generally for italicized text (or otherwise text that should standout). I recommend moving these to be either divs or spans to be a bit more semantically correct - you could also move those common icon buttons to a separate component and pass in an inline prop ๐Ÿ˜„ something like:
// CloseIcon.tsx
const CloseIcon = ({ inline, ...props }) => (
   inline 
      ? <span className='icofont-bin' />
      : <div className='icofont-bin' />
)

or you could take it further and make an Icon.tsx with a name prop that'll map to either ...-bin or ...-close, etc.

but, that's getting a little nitpicky ๐Ÿ™ƒ

it looks good and works well from my playing around with it ๐ŸŽ‰

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.