Giter Site home page Giter Site logo

moment dependency? about arcgis-filter HOT 3 CLOSED

jwasilgeo avatar jwasilgeo commented on July 4, 2024
moment dependency?

from arcgis-filter.

Comments (3)

jwasilgeo avatar jwasilgeo commented on July 4, 2024

Is it a dependency of the calcite-react/DatePicker, since it is supplied directly to the DatePicker on https://github.com/jpeterson/arcgis-filter/blob/master/src/ArcgisFilter/components/ValueInput.js#L64?

from arcgis-filter.

jpeterson avatar jpeterson commented on July 4, 2024

@jwasilgeo this is a good catch. I was building arcgis-filter and calcite-react simultaneously and the fact that moment is a dependency of calcite-react is why this never actually breaks anything...

We should probably rethink whether to go all in on moment, or to only use date-fns within this project. The benefit of using moment is that we can work directly with moment primitives provided by calcite-react/DatePicker. So maybe we replace any usage of date-fns with moment and add moment as a peerDependency?

from arcgis-filter.

jwasilgeo avatar jwasilgeo commented on July 4, 2024

On it.

from arcgis-filter.

Related Issues (9)

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.