Git Product home page Git Product logo

keepfy-react-native-calendars's Introduction

Keepfy react native calendars

Keepfy calendar/agenda implementation inspired by wix react-native-calendars

Description

This package implements a similar solution like react-native-calendars, but using typescript and react-hooks.

Install

yarn add @keepfy/react-native-calendars

Why

react-native-calendars seems to be abandoned, and their source code has to support old features, and on top of that, they use the XDate package, which makes the code a little bit harder to type and deal with.

TODO

  • Calendar list
  • Current day marking
  • Day selection
  • Customizations using context
    • Arrows on week day names
    • Markings on days
  • Date picker like google agenda one
  • Documentation
  • Support i18n
  • Usage example on README
  • Example app and gifs
  • Render and e2e tests
  • Support lazy loading a infinite stream of dates (this one is kinda really hard.. RN lists need a size to be informed, but a date list has no start and end)

Current state

The package is a WIP, but here's our current keepfy agenda using this package: Agenda

Notes

  • We still recommend react-native-calendars instead of this package because it has more features and options than this package
  • If possible, consider enabling the LayoutAnimation flag, we rely on it for the Calendar component, and we don't know if not having it will break something.
  • RN < 60 compatibility is not a goal
  • This package focus is on Calendar, not on Agenda
    • If you look at the agenda implementation, you will see that it's just a fancy section list with animations for Calendar
  • For now we will be depending on packages like react-native-paper and react-native-typography that we use on our app, in the near future we hope to remove these dependencies.

keepfy-react-native-calendars's People

Contributors

grohden 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.