2.2.1 • Published 5 years ago

ecleptic-react-weather-component v2.2.1

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

ecleptic-react-weather-component

npm (scoped) npm bundle size (minified) install size

Just learning how to build NPM packages

A Basic react component that pulls the weather from openweathermap.org

Required Props: APIKEY, ZIP Required Peer Dependencies:

usage:

import React from 'react'
import Weather from 'ecleptic-react-weather-component'

function App(){
  ...

  <Weather zip={ZIP} APIKEY={APIKEY} />

  ...
}
export default App

2.0.1 - 2019-05-21

Removed Styled Components from dependency tree

  • Styled components was doing very small layout changes. It is better to just have some inline styling in the JSX than have a large library as a peer dependency.

2.0.1 - 2019-05-20

Changed Build target

  • Webpack was originally building to an html file for some reason. (Don't copy & paste docs code kids) Changed it back to building to an index.js and that worked.

2.0.0 - 2019-05-20

Created Peer dependencies

  • Instead of being Bundled, React, React-Dom, & Styled-Components are now peer dependencies instead.

1.0.0 - 2019-04-24

Initial Commit

  • Created Basic API Props needing ZIP & API token
2.2.1

5 years ago

2.2.0

5 years ago

2.1.0-beta.1

5 years ago

2.1.0-beta.0

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago