Typescript React Cheat Sheet



Typescript React Cheat Sheet

  1. React Forwardref Typescript
  2. React Typescript Types Cheat Sheet
  3. Typescript React Redux Cheat Sheet
Just last week we released an extensive printable HTML 5 Cheat Sheet that lists all currently supported HTML 5 tags, their descriptions, their attributes and their support in HTML 4. In comments to this post we received many requests for a similar CSS 3 cheat sheet that would present the main features of CSS 3 in a handy, printable reference card.

Just last week we released an extensive printable HTML 5 Cheat Sheet that lists all currently supported HTML5 tags, their descriptions, their attributes and their support in HTML 4. In comments to this post we received many requests for a similar CSS3 cheat sheet that would present the main features of CSS3 in a handy, printable reference card.

React.Component render componentDidMount props/state dangerouslySetInnerHTML React is a JavaScript library for building user interfaces. This guide targets React v15 to v16. TypeScript Cheatsheet A set of TypeScript related notes used for quick reference. The cheatsheet contains references to types, classes, decorators, and many other TypeScript related subjects. Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.

So we asked our friend Chris Hanscom from Veign (who created the HTML 5 cheat sheet) to create a quick reference card for CSS 3. We already encouraged you to experiment with CSS 3 in our lastposts and now you can use this handy cheat sheet to use the new CSS 3 features in some modern browsers (Firefox 3.5, Opera 9.6, Safari 3+, Google Chrome and Co.). The result is a printable CSS 3 scrib sheet, created and released exclusively for the readers of Smashing Magazine. Thank you for your great work, Chris Hanscom!

In this post we present a printable CSS 3 Cheat Sheet (PDF), a complete listing of all the properties, selectors types and allowed values in the current CSS 3 specification from the W3C. Each property is provided in a section that attempts to match it with the section (module) that it is most actively associated within the W3C specification. Next to each property is a listing of the expected values that that property takes (normal text shows named values it accepts and italics shows value types it will accept).

The cheat sheet was done in the same format as the CSS 2 Reference Guide that you may want to use for your projects as well.

Download the CSS 3 Cheat Sheet for free!

  • preview (.gif, 1255×882px)
  • download the pdf (5 pages, 123 Kb)

Thank you very much, Chris Hanscom! We appreciate your efforts.

Further Resources About CSS 3

  • Take Your Design To The Next Level With CSS3 In this article, we’ll look at the advantages of CSS3 and some examples of how Web designers are already using it. By the end, we’ll know a bit of what to expect from CSS3 and how we can use its new features in our projects.
  • Push Your Web Design Into The Future With CSS3 A couple of HTML 5 examples and experiments.

React Forwardref Typescript

Sheet

TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. This is a list of TypeScript types for date-fns generated from the declaration files in https://github.com/date-fns/date-fns/tree/v2.21.1.

Typescript React Cheat Sheet

React Typescript Types Cheat Sheet

See also my TypeScript React cheat sheet and TypeScript cheat sheet.

Typescript React Redux Cheat Sheet

  • date-fns(module)
    • Interval(type)
    • Locale(type)
    • Duration(type)
    • Day(type)
  • date-fns(module)
    • add(function)
    • addBusinessDays(function)
    • addDays(function)
    • addHours(function)
    • addISOWeekYears(function)
    • addMilliseconds(function)
    • addMinutes(function)
    • addMonths(function)
    • addQuarters(function)
    • addSeconds(function)
    • addWeeks(function)
    • addYears(function)
    • areIntervalsOverlapping(function)
    • closestIndexTo(function)
    • closestTo(function)
    • compareAsc(function)
    • compareDesc(function)
    • differenceInBusinessDays(function)
    • differenceInCalendarDays(function)
    • differenceInCalendarISOWeeks(function)
    • differenceInCalendarISOWeekYears(function)
    • differenceInCalendarMonths(function)
    • differenceInCalendarQuarters(function)
    • differenceInCalendarWeeks(function)
    • differenceInCalendarYears(function)
    • differenceInDays(function)
    • differenceInHours(function)
    • differenceInISOWeekYears(function)
    • differenceInMilliseconds(function)
    • differenceInMinutes(function)
    • differenceInMonths(function)
    • differenceInQuarters(function)
    • differenceInSeconds(function)
    • differenceInWeeks(function)
    • differenceInYears(function)
    • eachDayOfInterval(function)
    • eachHourOfInterval(function)
    • eachMinuteOfInterval(function)
    • eachMonthOfInterval(function)
    • eachQuarterOfInterval(function)
    • eachWeekendOfInterval(function)
    • eachWeekendOfMonth(function)
    • eachWeekendOfYear(function)
    • eachWeekOfInterval(function)
    • eachYearOfInterval(function)
    • endOfDay(function)
    • endOfDecade(function)
    • endOfHour(function)
    • endOfISOWeek(function)
    • endOfISOWeekYear(function)
    • endOfMinute(function)
    • endOfMonth(function)
    • endOfQuarter(function)
    • endOfSecond(function)
    • endOfToday(function)
    • endOfTomorrow(function)
    • endOfWeek(function)
    • endOfYear(function)
    • endOfYesterday(function)
    • format(function)
    • formatDistance(function)
    • formatDistanceStrict(function)
    • formatDistanceToNow(function)
    • formatDistanceToNowStrict(function)
    • formatDuration(function)
    • formatISO(function)
    • formatISO9075(function)
    • formatISODuration(function)
    • formatRelative(function)
    • formatRFC3339(function)
    • formatRFC7231(function)
    • fromUnixTime(function)
    • getDate(function)
    • getDay(function)
    • getDayOfYear(function)
    • getDaysInMonth(function)
    • getDaysInYear(function)
    • getDecade(function)
    • getHours(function)
    • getISODay(function)
    • getISOWeek(function)
    • getISOWeeksInYear(function)
    • getISOWeekYear(function)
    • getMilliseconds(function)
    • getMinutes(function)
    • getMonth(function)
    • getOverlappingDaysInIntervals(function)
    • getQuarter(function)
    • getSeconds(function)
    • getTime(function)
    • getUnixTime(function)
    • getWeek(function)
    • getWeekOfMonth(function)
    • getWeeksInMonth(function)
    • getWeekYear(function)
    • getYear(function)
    • intervalToDuration(function)
    • intlFormat(function)
    • isAfter(function)
    • isBefore(function)
    • isDate(function)
    • isEqual(function)
    • isExists(function)
    • isFirstDayOfMonth(function)
    • isFriday(function)
    • isFuture(function)
    • isLastDayOfMonth(function)
    • isLeapYear(function)
    • isMatch(function)
    • isMonday(function)
    • isPast(function)
    • isSameDay(function)
    • isSameHour(function)
    • isSameISOWeek(function)
    • isSameISOWeekYear(function)
    • isSameMinute(function)
    • isSameMonth(function)
    • isSameQuarter(function)
    • isSameSecond(function)
    • isSameWeek(function)
    • isSameYear(function)
    • isSaturday(function)
    • isSunday(function)
    • isThisHour(function)
    • isThisISOWeek(function)
    • isThisMinute(function)
    • isThisMonth(function)
    • isThisQuarter(function)
    • isThisSecond(function)
    • isThisWeek(function)
    • isThisYear(function)
    • isThursday(function)
    • isToday(function)
    • isTomorrow(function)
    • isTuesday(function)
    • isValid(function)
    • isWednesday(function)
    • isWeekend(function)
    • isWithinInterval(function)
    • isYesterday(function)
    • lastDayOfDecade(function)
    • lastDayOfISOWeek(function)
    • lastDayOfISOWeekYear(function)
    • lastDayOfMonth(function)
    • lastDayOfQuarter(function)
    • lastDayOfWeek(function)
    • lastDayOfYear(function)
    • lightFormat(function)
    • max(function)
    • milliseconds(function)
    • min(function)
    • nextDay(function)
    • nextFriday(function)
    • nextMonday(function)
    • nextSaturday(function)
    • nextSunday(function)
    • nextThursday(function)
    • nextTuesday(function)
    • nextWednesday(function)
    • parse(function)
    • parseISO(function)
    • parseJSON(function)
    • roundToNearestMinutes(function)
    • set(function)
    • setDate(function)
    • setDay(function)
    • setDayOfYear(function)
    • setHours(function)
    • setISODay(function)
    • setISOWeek(function)
    • setISOWeekYear(function)
    • setMilliseconds(function)
    • setMinutes(function)
    • setMonth(function)
    • setQuarter(function)
    • setSeconds(function)
    • setWeek(function)
    • setWeekYear(function)
    • setYear(function)
    • startOfDay(function)
    • startOfDecade(function)
    • startOfHour(function)
    • startOfISOWeek(function)
    • startOfISOWeekYear(function)
    • startOfMinute(function)
    • startOfMonth(function)
    • startOfQuarter(function)
    • startOfSecond(function)
    • startOfToday(function)
    • startOfTomorrow(function)
    • startOfWeek(function)
    • startOfWeekYear(function)
    • startOfYear(function)
    • startOfYesterday(function)
    • sub(function)
    • subBusinessDays(function)
    • subDays(function)
    • subHours(function)
    • subISOWeekYears(function)
    • subMilliseconds(function)
    • subMinutes(function)
    • subMonths(function)
    • subQuarters(function)
    • subSeconds(function)
    • subWeeks(function)
    • subYears(function)
    • toDate(function)
    • maxTime(var)
    • minTime(var)
  • date-fns/fp(module)
    • add(var)
    • addBusinessDays(var)
    • addDays(var)
    • addHours(var)
    • addISOWeekYears(var)
    • addMilliseconds(var)
    • addMinutes(var)
    • addMonths(var)
    • addQuarters(var)
    • addSeconds(var)
    • addWeeks(var)
    • addYears(var)
    • areIntervalsOverlapping(var)
    • areIntervalsOverlappingWithOptions(var)
    • closestIndexTo(var)
    • closestTo(var)
    • compareAsc(var)
    • compareDesc(var)
    • differenceInBusinessDays(var)
    • differenceInCalendarDays(var)
    • differenceInCalendarISOWeeks(var)
    • differenceInCalendarISOWeekYears(var)
    • differenceInCalendarMonths(var)
    • differenceInCalendarQuarters(var)
    • differenceInCalendarWeeks(var)
    • differenceInCalendarWeeksWithOptions(var)
    • differenceInCalendarYears(var)
    • differenceInDays(var)
    • differenceInHours(var)
    • differenceInISOWeekYears(var)
    • differenceInMilliseconds(var)
    • differenceInMinutes(var)
    • differenceInMonths(var)
    • differenceInQuarters(var)
    • differenceInSeconds(var)
    • differenceInWeeks(var)
    • differenceInYears(var)
    • eachDayOfInterval(var)
    • eachDayOfIntervalWithOptions(var)
    • eachHourOfInterval(var)
    • eachHourOfIntervalWithOptions(var)
    • eachMinuteOfInterval(var)
    • eachMinuteOfIntervalWithOptions(var)
    • eachMonthOfInterval(var)
    • eachQuarterOfInterval(var)
    • eachWeekendOfInterval(var)
    • eachWeekendOfMonth(var)
    • eachWeekendOfYear(var)
    • eachWeekOfInterval(var)
    • eachWeekOfIntervalWithOptions(var)
    • eachYearOfInterval(var)
    • endOfDay(var)
    • endOfDecade(var)
    • endOfDecadeWithOptions(var)
    • endOfHour(var)
    • endOfISOWeek(var)
    • endOfISOWeekYear(var)
    • endOfMinute(var)
    • endOfMonth(var)
    • endOfQuarter(var)
    • endOfSecond(var)
    • endOfWeek(var)
    • endOfWeekWithOptions(var)
    • endOfYear(var)
    • format(var)
    • formatDistance(var)
    • formatDistanceStrict(var)
    • formatDistanceStrictWithOptions(var)
    • formatDistanceWithOptions(var)
    • formatDuration(var)
    • formatDurationWithOptions(var)
    • formatISO(var)
    • formatISO9075(var)
    • formatISO9075WithOptions(var)
    • formatISODuration(var)
    • formatISOWithOptions(var)
    • formatRelative(var)
    • formatRelativeWithOptions(var)
    • formatRFC3339(var)
    • formatRFC3339WithOptions(var)
    • formatRFC7231(var)
    • formatWithOptions(var)
    • fromUnixTime(var)
    • getDate(var)
    • getDay(var)
    • getDayOfYear(var)
    • getDaysInMonth(var)
    • getDaysInYear(var)
    • getDecade(var)
    • getHours(var)
    • getISODay(var)
    • getISOWeek(var)
    • getISOWeeksInYear(var)
    • getISOWeekYear(var)
    • getMilliseconds(var)
    • getMinutes(var)
    • getMonth(var)
    • getOverlappingDaysInIntervals(var)
    • getQuarter(var)
    • getSeconds(var)
    • getTime(var)
    • getUnixTime(var)
    • getWeek(var)
    • getWeekOfMonth(var)
    • getWeekOfMonthWithOptions(var)
    • getWeeksInMonth(var)
    • getWeeksInMonthWithOptions(var)
    • getWeekWithOptions(var)
    • getWeekYear(var)
    • getWeekYearWithOptions(var)
    • getYear(var)
    • intervalToDuration(var)
    • intlFormat(var)
    • isAfter(var)
    • isBefore(var)
    • isDate(var)
    • isEqual(var)
    • isExists(var)
    • isFirstDayOfMonth(var)
    • isFriday(var)
    • isLastDayOfMonth(var)
    • isLeapYear(var)
    • isMatch(var)
    • isMatchWithOptions(var)
    • isMonday(var)
    • isSameDay(var)
    • isSameHour(var)
    • isSameISOWeek(var)
    • isSameISOWeekYear(var)
    • isSameMinute(var)
    • isSameMonth(var)
    • isSameQuarter(var)
    • isSameSecond(var)
    • isSameWeek(var)
    • isSameWeekWithOptions(var)
    • isSameYear(var)
    • isSaturday(var)
    • isSunday(var)
    • isThursday(var)
    • isTuesday(var)
    • isValid(var)
    • isWednesday(var)
    • isWeekend(var)
    • isWithinInterval(var)
    • lastDayOfDecade(var)
    • lastDayOfISOWeek(var)
    • lastDayOfISOWeekYear(var)
    • lastDayOfMonth(var)
    • lastDayOfQuarter(var)
    • lastDayOfQuarterWithOptions(var)
    • lastDayOfWeek(var)
    • lastDayOfWeekWithOptions(var)
    • lastDayOfYear(var)
    • lightFormat(var)
    • max(var)
    • milliseconds(var)
    • min(var)
    • nextDay(var)
    • nextFriday(var)
    • nextMonday(var)
    • nextSaturday(var)
    • nextSunday(var)
    • nextThursday(var)
    • nextTuesday(var)
    • nextWednesday(var)
    • parse(var)
    • parseISO(var)
    • parseISOWithOptions(var)
    • parseJSON(var)
    • parseWithOptions(var)
    • roundToNearestMinutes(var)
    • roundToNearestMinutesWithOptions(var)
    • set(var)
    • setDate(var)
    • setDay(var)
    • setDayOfYear(var)
    • setDayWithOptions(var)
    • setHours(var)
    • setISODay(var)
    • setISOWeek(var)
    • setISOWeekYear(var)
    • setMilliseconds(var)
    • setMinutes(var)
    • setMonth(var)
    • setQuarter(var)
    • setSeconds(var)
    • setWeek(var)
    • setWeekWithOptions(var)
    • setWeekYear(var)
    • setWeekYearWithOptions(var)
    • setYear(var)
    • startOfDay(var)
    • startOfDecade(var)
    • startOfHour(var)
    • startOfISOWeek(var)
    • startOfISOWeekYear(var)
    • startOfMinute(var)
    • startOfMonth(var)
    • startOfQuarter(var)
    • startOfSecond(var)
    • startOfWeek(var)
    • startOfWeekWithOptions(var)
    • startOfWeekYear(var)
    • startOfWeekYearWithOptions(var)
    • startOfYear(var)
    • sub(var)
    • subBusinessDays(var)
    • subDays(var)
    • subHours(var)
    • subISOWeekYears(var)
    • subMilliseconds(var)
    • subMinutes(var)
    • subMonths(var)
    • subQuarters(var)
    • subSeconds(var)
    • subWeeks(var)
    • subYears(var)
    • toDate(var)
    • maxTime(var)
    • minTime(var)
  • date-fns/locale(module)
    • af(var)
    • ar(var)
    • arDZ(var)
    • arMA(var)
    • arSA(var)
    • az(var)
    • be(var)
    • bg(var)
    • bn(var)
    • ca(var)
    • cs(var)
    • cy(var)
    • da(var)
    • de(var)
    • deAT(var)
    • el(var)
    • enAU(var)
    • enCA(var)
    • enGB(var)
    • enIN(var)
    • enNZ(var)
    • enUS(var)
    • enZA(var)
    • eo(var)
    • es(var)
    • et(var)
    • eu(var)
    • faIR(var)
    • fi(var)
    • fil(var)
    • fr(var)
    • frCA(var)
    • frCH(var)
    • gd(var)
    • gl(var)
    • gu(var)
    • he(var)
    • hi(var)
    • hr(var)
    • ht(var)
    • hu(var)
    • hy(var)
    • id(var)
    • is(var)
    • it(var)
    • ja(var)
    • ka(var)
    • kk(var)
    • kn(var)
    • ko(var)
    • lb(var)
    • lt(var)
    • lv(var)
    • mk(var)
    • mn(var)
    • ms(var)
    • mt(var)
    • nb(var)
    • nl(var)
    • nlBE(var)
    • nn(var)
    • pl(var)
    • pt(var)
    • ptBR(var)
    • ro(var)
    • ru(var)
    • sk(var)
    • sl(var)
    • sq(var)
    • sr(var)
    • srLatn(var)
    • sv(var)
    • ta(var)
    • te(var)
    • th(var)
    • tr(var)
    • ug(var)
    • uk(var)
    • uz(var)
    • vi(var)
    • zhCN(var)
    • zhTW(var)