A web application for learning about your local politicians built with a React and Next.js front-end, an Express Node.js GraphQL backend API

Overview

Integra

GitHub Actions status

Integra is a web application for learning about your local politicians. It is built with a React and Next.js front-end, an Express Node.js GraphQL backend API, and a MongoDB database with a Prisma schema. The project is currently in development.

The web application is located at integra.vote, hosted with Cloudflare Pages. The GraphQL Express API server is hosted on api.integra.vote with fly.io.

Installation

git clone https://github.com/jeremynguyencs/integra
cd integra
yarn

Usage

# Run the development server locally
yarn dev

# Lint and format code
yarn lint
yarn format

# Build
yarn build

License

MIT

Comments
  • Chore(deps): Bump react-hook-form from 7.36.0 to 7.41.2

    Chore(deps): Bump react-hook-form from 7.36.0 to 7.41.2

    Bumps react-hook-form from 7.36.0 to 7.41.2.

    Release notes

    Sourced from react-hook-form's releases.

    Version 7.41.2

    🤦🏻‍♂️fix #9661 regression on required valueAsNumber (#9662)

    🎅 Version 7.41.1

    🐞 fix #9659 NaN prevent validation update (#9660) 🕯️ close #9524 useWatch return undefined value (#9653) 📖 adjust contributing document (#9641) 💆🏻 fix #9621 with the inline default value (#9622) 🩻 docs: update contribution guidelines (#9605)

    thanks to @​Mini-ghost and @​stefanpl

    🎄 Version 7.41.0

    👉 NEW values props

    The following syntax will react to values prop update/changes.

    • values will be reactive to update/change and reset accordingly
    • provide a reset option to keep dirty/touched values potentially
    const values = await fetch('API')
    

    useForm({ values, // will reset the form when values updates // resetOptions: { // keepDirtyValues: true // } })


    👉 NEW async defaultValues props

    The following syntax will support async defaultValues, so we will manage the reset form internally and update formState accordingly.

    • promise will only be resolved once during useForm() call
    • It's possible to supply resetOptions as well
    const { formState: { isLoading } } = useForm({
      defaultValues: fetch('API')
      // resetOptions: {
      //   keepDirtyValues: true
      // }
    })
    

    React use API

    ... (truncated)

    Changelog

    Sourced from react-hook-form's changelog.

    Changelog

    [7.40.0] - 2022-11-30

    Changed

    • async validation (or combined with sync) will always the take the latest validation result and abort the previous

    [7.39.5] - 2022-11-21

    Changed

    • Conditional render useFormState will trigger an extra re-render to reflect the current formState

    [7.39.0] - 2022-11-2

    Changed

    • isValid formState is no longer only applicable with onChange, onTouched, and onBlur mode.

    [7.38.0] - 2022-10-19

    Added

    • support build-in validation with input type week and time
    <input {...register("week", { min: "2022-W40" })} type="week" />
    <input {...register("time", { min: "11:00" })} type="time" />
    

    [7.37.0] - 2022-10-07

    Added

    • new formState defaultValues
    const { formState, watch } = useForm({
      defaultValues: { name: 'test' },
    });
    const { defaultValues } = useFormState();
    

    const name = watch('name');

    return ( <div> <p>Your name was {defaultValues.name}</p> <p>Updated name is {name}</p> </div> </tr></table>

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump react-hook-form from 7.36.0 to 7.41.1

    Chore(deps): Bump react-hook-form from 7.36.0 to 7.41.1

    Bumps react-hook-form from 7.36.0 to 7.41.1.

    Release notes

    Sourced from react-hook-form's releases.

    🎅 Version 7.41.1

    🐞 fix #9659 NaN prevent validation update (#9660) 🕯️ close #9524 useWatch return undefined value (#9653) 📖 adjust contributing document (#9641) 💆🏻 fix #9621 with the inline default value (#9622) 🩻 docs: update contribution guidelines (#9605)

    thanks to @​Mini-ghost and @​stefanpl

    🎄 Version 7.41.0

    👉 NEW values props

    The following syntax will react to values prop update/changes.

    • values will be reactive to update/change and reset accordingly
    • provide a reset option to keep dirty/touched values potentially
    const values = await fetch('API')
    

    useForm({ values, // will reset the form when values updates // resetOptions: { // keepDirtyValues: true // } })


    👉 NEW async defaultValues props

    The following syntax will support async defaultValues, so we will manage the reset form internally and update formState accordingly.

    • promise will only be resolved once during useForm() call
    • It's possible to supply resetOptions as well
    const { formState: { isLoading } } = useForm({
      defaultValues: fetch('API')
      // resetOptions: {
      //   keepDirtyValues: true
      // }
    })
    

    React use API

    useForm({
      defaultValues: use(fetch('API'))
    </tr></table> 
    

    ... (truncated)

    Changelog

    Sourced from react-hook-form's changelog.

    Changelog

    [7.40.0] - 2022-11-30

    Changed

    • async validation (or combined with sync) will always the take the latest validation result and abort the previous

    [7.39.5] - 2022-11-21

    Changed

    • Conditional render useFormState will trigger an extra re-render to reflect the current formState

    [7.39.0] - 2022-11-2

    Changed

    • isValid formState is no longer only applicable with onChange, onTouched, and onBlur mode.

    [7.38.0] - 2022-10-19

    Added

    • support build-in validation with input type week and time
    <input {...register("week", { min: "2022-W40" })} type="week" />
    <input {...register("time", { min: "11:00" })} type="time" />
    

    [7.37.0] - 2022-10-07

    Added

    • new formState defaultValues
    const { formState, watch } = useForm({
      defaultValues: { name: 'test' },
    });
    const { defaultValues } = useFormState();
    

    const name = watch('name');

    return ( <div> <p>Your name was {defaultValues.name}</p> <p>Updated name is {name}</p> </div> </tr></table>

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump framer-motion from 7.3.6 to 8.0.2

    Chore(deps): Bump framer-motion from 7.3.6 to 8.0.2

    Bumps framer-motion from 7.3.6 to 8.0.2.

    Changelog

    Sourced from framer-motion's changelog.

    [8.0.2] 2022-12-23

    Fixed

    • Fixing defaults for hardware-accelerated animations.

    [8.0.1] 2022-12-21

    Added

    • Warning for unhydrated refs passed to useScroll() options.

    [8.0.0] 2022-12-21

    Removed

    • Removed polyfilled support for mouse/touch events.
    • Removed drag pointerup patch for Safari over <select /> elements.

    Changed

    • DragControls.start now accepts PointerEvent only.

    [7.10.3] 2022-12-20

    Changed

    • Firing animateChanges in useLayoutEffect rather than useEffect to ensure optimised appear animations are handed off before paint.

    [7.10.2] 2022-12-16

    Fixed

    • Adding support for all easing functions with WAAPI.

    [7.10.1] 2022-12-16

    Fixed

    • Fixed type inference of useMotionValueEvent.

    [7.10.0] 2022-12-15

    Added

    • .on() event method to MotionValue.
    • "animationStart", "animationComplete", "animationCancel" and "change" events for MotionValue.
    • useMotionValueEvent helper method for adding events.

    [7.9.1] 2022-12-14

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump framer-motion from 7.3.6 to 8.0.1

    Chore(deps): Bump framer-motion from 7.3.6 to 8.0.1

    Bumps framer-motion from 7.3.6 to 8.0.1.

    Changelog

    Sourced from framer-motion's changelog.

    [8.0.1] 2022-12-21

    Added

    • Warning for unhydrated refs passed to useScroll() options.

    [8.0.0] 2022-12-21

    Removed

    • Removed polyfilled support for mouse/touch events.
    • Removed drag pointerup patch for Safari over <select /> elements.

    Changed

    • DragControls.start now accepts PointerEvent only.

    [7.10.3] 2022-12-20

    Changed

    • Firing animateChanges in useLayoutEffect rather than useEffect to ensure optimised appear animations are handed off before paint.

    [7.10.2] 2022-12-16

    Fixed

    • Adding support for all easing functions with WAAPI.

    [7.10.1] 2022-12-16

    Fixed

    • Fixed type inference of useMotionValueEvent.

    [7.10.0] 2022-12-15

    Added

    • .on() event method to MotionValue.
    • "animationStart", "animationComplete", "animationCancel" and "change" events for MotionValue.
    • useMotionValueEvent helper method for adding events.

    [7.9.1] 2022-12-14

    Fixed

    • Fixing mapping Framer Motion easing names to WAAPI.

    [7.9.0] 2022-12-14

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump framer-motion from 7.3.6 to 7.10.3

    Chore(deps): Bump framer-motion from 7.3.6 to 7.10.3

    Bumps framer-motion from 7.3.6 to 7.10.3.

    Changelog

    Sourced from framer-motion's changelog.

    [7.10.3] 2022-12-20

    Changed

    • Firing animateChanges in useLayoutEffect rather than useEffect to ensure optimised appear animations are handed off before paint.

    [7.10.2] 2022-12-16

    Fixed

    • Adding support for all easing functions with WAAPI.

    [7.10.1] 2022-12-16

    Fixed

    • Fixed type inference of useMotionValueEvent.

    [7.10.0] 2022-12-15

    Added

    • .on() event method to MotionValue.
    • "animationStart", "animationComplete", "animationCancel" and "change" events for MotionValue.
    • useMotionValueEvent helper method for adding events.

    [7.9.1] 2022-12-14

    Fixed

    • Fixing mapping Framer Motion easing names to WAAPI.

    [7.9.0] 2022-12-14

    Added

    • Hardware-accelerated opacity animations.

    [7.8.1] 2022-12-14

    Changed

    • Refactored animation pipeline to better accomodate WAAPI.

    [7.9.0] 2022-12-14

    Added

    • Hardware-accelerated opacity animations.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump eslint from 8.23.1 to 8.30.0

    Chore(deps): Bump eslint from 8.23.1 to 8.30.0

    Bumps eslint from 8.23.1 to 8.30.0.

    Release notes

    Sourced from eslint's releases.

    v8.30.0

    Features

    • 075ef2c feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)
    • 7190d98 feat: update globals (#16654) (Sébastien Règne)

    Bug Fixes

    • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)
    • 9b8bb72 fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)

    Documentation

    • 6a8cd94 docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)
    • ad44344 docs: CLI documentation standardization (#16563) (Ben Perlmutter)
    • 293573e docs: fix broken line numbers (#16606) (Sam Chen)
    • fa2c64b docs: use relative links for internal links (#16631) (Percy Ma)
    • 75276c9 docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)
    • 7276fe5 docs: Fix anchor in URL (#16628) (Karl Horky)
    • 6bef135 docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)
    • dfc7ec1 docs: Formatters page updates (#16566) (Ben Perlmutter)
    • 8ba124c docs: update the prefer-const example (#16607) (Pavel)
    • e6cb05a docs: fix css leaking (#16603) (Sam Chen)

    Chores

    • f2c4737 chore: upgrade @​eslint/eslintrc@​1.4.0 (#16675) (Milos Djermanovic)
    • ba74253 chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)
    • 0d9af4c ci: fix npm v9 problem with file: (#16664) (Milos Djermanovic)
    • 90c9219 refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)

    v8.29.0

    Features

    • 49a07c5 feat: add allowParensAfterCommentPattern option to no-extra-parens (#16561) (Nitin Kumar)
    • e6a865d feat: prefer-named-capture-group add suggestions (#16544) (Josh Goldberg)
    • a91332b feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)

    Documentation

    • 0311d81 docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)
    • 57089b1 docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)
    • b6ab030 docs: add docs codeowners (#16601) (Strek)
    • 6380c87 docs: fix sitemap and feed (#16592) (Milos Djermanovic)
    • ade621d docs: perf debounce the search query (#16586) (Shanmughapriyan S)
    • fbcf3ab docs: fix searchbar clear button (#16585) (Shanmughapriyan S)
    • f894035 docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)
    • de12b26 docs: Update configuration file pages (#16509) (Ben Perlmutter)
    • 1ae9f20 docs: update correct code examples for no-extra-parens rule (#16560) (Nitin Kumar)

    Chores

    • 7628403 chore: add discord channel link (#16590) (Amaresh S M)
    • f5808cb chore: fix rule doc headers check (#16564) (Milos Djermanovic)

    v8.28.0

    Features

    ... (truncated)

    Changelog

    Sourced from eslint's changelog.

    v8.30.0 - December 16, 2022

    • f2c4737 chore: upgrade @​eslint/eslintrc@​1.4.0 (#16675) (Milos Djermanovic)
    • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)
    • 075ef2c feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)
    • ba74253 chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)
    • 6a8cd94 docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)
    • 0d9af4c ci: fix npm v9 problem with file: (#16664) (Milos Djermanovic)
    • 7190d98 feat: update globals (#16654) (Sébastien Règne)
    • ad44344 docs: CLI documentation standardization (#16563) (Ben Perlmutter)
    • 90c9219 refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)
    • 9b8bb72 fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)
    • 293573e docs: fix broken line numbers (#16606) (Sam Chen)
    • fa2c64b docs: use relative links for internal links (#16631) (Percy Ma)
    • 75276c9 docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)
    • 7276fe5 docs: Fix anchor in URL (#16628) (Karl Horky)
    • 6bef135 docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)
    • dfc7ec1 docs: Formatters page updates (#16566) (Ben Perlmutter)
    • 8ba124c docs: update the prefer-const example (#16607) (Pavel)
    • e6cb05a docs: fix css leaking (#16603) (Sam Chen)

    v8.29.0 - December 2, 2022

    • 0311d81 docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)
    • 57089b1 docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)
    • b6ab030 docs: add docs codeowners (#16601) (Strek)
    • 7628403 chore: add discord channel link (#16590) (Amaresh S M)
    • 49a07c5 feat: add allowParensAfterCommentPattern option to no-extra-parens (#16561) (Nitin Kumar)
    • 6380c87 docs: fix sitemap and feed (#16592) (Milos Djermanovic)
    • e6a865d feat: prefer-named-capture-group add suggestions (#16544) (Josh Goldberg)
    • ade621d docs: perf debounce the search query (#16586) (Shanmughapriyan S)
    • a91332b feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)
    • fbcf3ab docs: fix searchbar clear button (#16585) (Shanmughapriyan S)
    • f894035 docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)
    • de12b26 docs: Update configuration file pages (#16509) (Ben Perlmutter)
    • f5808cb chore: fix rule doc headers check (#16564) (Milos Djermanovic)
    • 1ae9f20 docs: update correct code examples for no-extra-parens rule (#16560) (Nitin Kumar)

    v8.28.0 - November 18, 2022

    • 34c05a7 docs: Language Options page intro and tweaks (#16511) (Ben Perlmutter)
    • 3e66387 docs: add intro and edit ignoring files page (#16510) (Ben Perlmutter)
    • 436f712 docs: fix Header UI inconsistency (#16464) (Tanuj Kanti)
    • f743816 docs: switch to wrench emoji for auto-fixable rules (#16545) (Bryan Mishkin)
    • bc0547e docs: improve styles for versions and languages page (#16553) (Nitin Kumar)
    • 6070f58 docs: clarify esquery issue workaround (#16556) (Milos Djermanovic)
    • b48e4f8 docs: Command Line Interface intro and tweaks (#16535) (Ben Perlmutter)
    • b92b30f docs: Add Rules page intro and content tweaks (#16523) (Ben Perlmutter)
    • 1769b42 docs: Integrations page introduction (#16548) (Ben Perlmutter)
    • 63bce44 feat: add ignoreClassFieldInitialValues option to no-magic-numbers (#16539) (Milos Djermanovic)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump react-hook-form from 7.36.0 to 7.41.0

    Chore(deps): Bump react-hook-form from 7.36.0 to 7.41.0

    Bumps react-hook-form from 7.36.0 to 7.41.0.

    Release notes

    Sourced from react-hook-form's releases.

    🎄 Version 7.41.0

    👉 NEW values props

    The following syntax will react to values prop update/changes.

    • values will be reactive to update/change and reset accordingly
    • provide a reset option to keep dirty/touched values potentially
    const values = await fetch('API')
    

    useForm({ values, // will reset the form when values updates // resetOptions: { // keepDirtyValues: true // } })


    👉 NEW async defaultValues props

    The following syntax will support async defaultValues, so we will manage the reset form internally and update formState accordingly.

    • promise will only be resolved once during useForm() call
    • It's possible to supply resetOptions as well
    const { formState: { isLoading } } = useForm({
      defaultValues: fetch('API')
      // resetOptions: {
      //   keepDirtyValues: true
      // }
    })
    

    React use API

    useForm({
      defaultValues: use(fetch('API'))
      // resetOptions: {
      //   keepDirtyValues: true
      // }
    })
    

    https://user-images.githubusercontent.com/10513364/208200735-6248b069-9b7d-4bd1-9742-55d1ef8d238a.mov

    🙋 What's the difference between values and defaultValues

    ... (truncated)

    Changelog

    Sourced from react-hook-form's changelog.

    Changelog

    [7.40.0] - 2022-11-30

    Changed

    • async validation (or combined with sync) will always the take the latest validation result and abort the previous

    [7.39.5] - 2022-11-21

    Changed

    • Conditional render useFormState will trigger an extra re-render to reflect the current formState

    [7.39.0] - 2022-11-2

    Changed

    • isValid formState is no longer only applicable with onChange, onTouched, and onBlur mode.

    [7.38.0] - 2022-10-19

    Added

    • support build-in validation with input type week and time
    <input {...register("week", { min: "2022-W40" })} type="week" />
    <input {...register("time", { min: "11:00" })} type="time" />
    

    [7.37.0] - 2022-10-07

    Added

    • new formState defaultValues
    const { formState, watch } = useForm({
      defaultValues: { name: 'test' },
    });
    const { defaultValues } = useFormState();
    

    const name = watch('name');

    return ( <div> <p>Your name was {defaultValues.name}</p> <p>Updated name is {name}</p> </div> </tr></table>

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump framer-motion from 7.3.6 to 7.10.2

    Chore(deps): Bump framer-motion from 7.3.6 to 7.10.2

    Bumps framer-motion from 7.3.6 to 7.10.2.

    Changelog

    Sourced from framer-motion's changelog.

    [7.10.2] 2022-12-16

    Fixed

    • Adding support for all easing functions with WAAPI.

    [7.10.1] 2022-12-16

    Fixed

    • Fixed type inference of useMotionValueEvent.

    [7.10.0] 2022-12-15

    Added

    • .on() event method to MotionValue.
    • "animationStart", "animationComplete", "animationCancel" and "change" events for MotionValue.
    • useMotionValueEvent helper method for adding events.

    [7.9.1] 2022-12-14

    Fixed

    • Fixing mapping Framer Motion easing names to WAAPI.

    [7.9.0] 2022-12-14

    Added

    • Hardware-accelerated opacity animations.

    [7.8.1] 2022-12-14

    Changed

    • Refactored animation pipeline to better accomodate WAAPI.

    [7.9.0] 2022-12-14

    Added

    • Hardware-accelerated opacity animations.

    [7.8.1] 2022-12-14

    Changed

    • Refactored animation pipeline to better accommodate WAAPI.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump framer-motion from 7.3.6 to 7.10.0

    Chore(deps): Bump framer-motion from 7.3.6 to 7.10.0

    Bumps framer-motion from 7.3.6 to 7.10.0.

    Changelog

    Sourced from framer-motion's changelog.

    [7.10.0] 2022-12-15

    Added

    • .on() event method to MotionValue.
    • "animationStart", "animationComplete", "animationCancel" and "change" events for MotionValue.
    • useMotionValueEvent helper method for adding events.

    [7.9.1] 2022-12-14

    Fixed

    • Fixing mapping Framer Motion easing names to WAAPI.

    [7.9.0] 2022-12-14

    Added

    • Hardware-accelerated opacity animations.

    [7.8.1] 2022-12-14

    Changed

    • Refactored animation pipeline to better accomodate WAAPI.

    [7.9.0] 2022-12-14

    Added

    • Hardware-accelerated opacity animations.

    [7.8.1] 2022-12-14

    Changed

    • Refactored animation pipeline to better accommodate WAAPI.

    [7.8.0] 2022-12-13

    Added

    • Added private APIs for starting initial animations before React hydration and handing off to the component after hydration.

    [7.7.3] 2022-12-13

    Fixed

    • Fixed spring effect of useSpring.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump framer-motion from 7.3.6 to 7.9.1

    Chore(deps): Bump framer-motion from 7.3.6 to 7.9.1

    Bumps framer-motion from 7.3.6 to 7.9.1.

    Changelog

    Sourced from framer-motion's changelog.

    [7.9.1] 2022-12-14

    Fixed

    • Fixing mapping Framer Motion easing names to WAAPI.

    [7.9.0] 2022-12-14

    Added

    • Hardware-accelerated opacity animations.

    [7.8.1] 2022-12-14

    Changed

    • Refactored animation pipeline to better accommodate WAAPI.

    [7.8.0] 2022-12-13

    Added

    • Added private APIs for starting initial animations before React hydration and handing off to the component after hydration.

    [7.7.3] 2022-12-13

    Fixed

    • Fixed spring effect of useSpring.

    [7.7.2] 2022-12-12

    Removed

    • Reduced ?? operators to reduce bundlesize.

    [7.7.1] 2022-12-12

    Changed

    • Removed style-value-types and framesync as external dependencies.

    [7.7.0] 2022-12-12

    Added

    • Added support for "startOffset", "textLength" and "lengthAdjust" SVG attributes.

    Removed

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump framer-motion from 7.3.6 to 7.8.0

    Chore(deps): Bump framer-motion from 7.3.6 to 7.8.0

    Bumps framer-motion from 7.3.6 to 7.8.0.

    Changelog

    Sourced from framer-motion's changelog.

    [7.8.0] 2022-12-13

    Added

    • Added private APIs for starting initial animations before React hydration and handing off to the component after hydration.

    [7.7.3] 2022-12-13

    Fixed

    • Fixed spring effect of useSpring.

    [7.7.2] 2022-12-12

    Removed

    • Reduced ?? operators to reduce bundlesize.

    [7.7.1] 2022-12-12

    Changed

    • Removed style-value-types and framesync as external dependencies.

    [7.7.0] 2022-12-12

    Added

    • Added support for "startOffset", "textLength" and "lengthAdjust" SVG attributes.

    Removed

    • Removed legacy repeat options (officially removed in 3.0.0).

    [7.6.19] 2022-12-05

    Fixed

    • Animation of viewBox for SVG elements.

    [7.6.18] 2022-12-02

    Changed

    • Removed popmotion as external dependency.

    [7.6.17] 2022-12-01

    Fixed

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • Chore(deps): Bump framer-motion from 7.3.6 to 8.1.3

    Chore(deps): Bump framer-motion from 7.3.6 to 8.1.3

    Bumps framer-motion from 7.3.6 to 8.1.3.

    Changelog

    Sourced from framer-motion's changelog.

    [8.1.3] 2023-01-03

    Fixed

    • Fixed times.

    [8.1.2] 2023-01-03

    Fixed

    • Fixed extends error in LayoutCamera and LayoutOrthographicCamera components.

    [8.1.1] 2023-01-03

    Fixed

    • Fixing error when Transition.type is invalid.

    [8.1.0] 2023-01-03

    Added

    • MotionValue.jump can be used to "jump" a MotionValue to a new value, bypassing active springs, ending current animations and resetting to velocity to 0.

    [8.0.4] 2023-01-03

    Fixed

    • Cleaning up animations when a MotionValue has no active "change" subscribers.
    • Changing useMotionValueEvent subscription to useInsertionEffect.

    [8.0.3] 2023-01-03

    Fixed

    • Use range for tslib dependency.
    • Fixing multitouch with drag and pan gestures.

    [8.0.2] 2022-12-23

    Fixed

    • Fixing defaults for hardware-accelerated animations.

    [8.0.1] 2022-12-21

    Added

    • Warning for unhydrated refs passed to useScroll() options.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Chore(deps): Bump eslint from 8.23.1 to 8.31.0

    Chore(deps): Bump eslint from 8.23.1 to 8.31.0

    Bumps eslint from 8.23.1 to 8.31.0.

    Release notes

    Sourced from eslint's releases.

    v8.31.0

    Features

    • 52c7c73 feat: check assignment patterns in no-underscore-dangle (#16693) (Milos Djermanovic)
    • b401cde feat: add options to check destructuring in no-underscore-dangle (#16006) (Morten Kaltoft)
    • 30d0daf feat: group properties with values in parentheses in key-spacing (#16677) (Francesco Trotta)

    Bug Fixes

    • 35439f1 fix: correct syntax error in prefer-arrow-callback autofix (#16722) (Francesco Trotta)
    • 87b2470 fix: new instance of FlatESLint should load latest config file version (#16608) (Milos Djermanovic)

    Documentation

    • 4339dc4 docs: Update README (GitHub Actions Bot)
    • 4e4049c docs: optimize code block structure (#16669) (Sam Chen)
    • 54a7ade docs: do not escape code blocks of formatters examples (#16719) (Sam Chen)
    • e5ecfef docs: Add function call example for no-undefined (#16712) (Elliot Huffman)
    • a3262f0 docs: Add mastodon link (#16638) (Amaresh S M)
    • a14ccf9 docs: clarify files property (#16709) (Sam Chen)
    • 3b29eb1 docs: fix npm link (#16710) (Abdullah Osama)
    • a638673 docs: fix search bar focus on Esc (#16700) (Shanmughapriyan S)
    • f62b722 docs: country flag missing in windows (#16698) (Shanmughapriyan S)
    • 4d27ec6 docs: display zh-hans in the docs language switcher (#16686) (Percy Ma)
    • 8bda20e docs: remove manually maintained anchors (#16685) (Percy Ma)
    • b68440f docs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)

    Chores

    • 65d4e24 chore: Upgrade @​eslint/eslintrc@​1.4.1 (#16729) (Brandon Mills)
    • 8d93081 chore: fix CI failure (#16721) (Sam Chen)
    • 8f17247 chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas)
    • 4cd87cb ci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot])
    • fd20c75 chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien)
    • 10a5c78 chore: update ignore patterns in eslint.config.js (#16678) (Milos Djermanovic)

    v8.30.0

    Features

    • 075ef2c feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)
    • 7190d98 feat: update globals (#16654) (Sébastien Règne)

    Bug Fixes

    • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)
    • 9b8bb72 fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)

    Documentation

    • 6a8cd94 docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)
    • ad44344 docs: CLI documentation standardization (#16563) (Ben Perlmutter)
    • 293573e docs: fix broken line numbers (#16606) (Sam Chen)
    • fa2c64b docs: use relative links for internal links (#16631) (Percy Ma)
    • 75276c9 docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)
    • 7276fe5 docs: Fix anchor in URL (#16628) (Karl Horky)
    • 6bef135 docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)
    • dfc7ec1 docs: Formatters page updates (#16566) (Ben Perlmutter)

    ... (truncated)

    Changelog

    Sourced from eslint's changelog.

    v8.31.0 - December 31, 2022

    • 65d4e24 chore: Upgrade @​eslint/eslintrc@​1.4.1 (#16729) (Brandon Mills)
    • 35439f1 fix: correct syntax error in prefer-arrow-callback autofix (#16722) (Francesco Trotta)
    • 87b2470 fix: new instance of FlatESLint should load latest config file version (#16608) (Milos Djermanovic)
    • 8d93081 chore: fix CI failure (#16721) (Sam Chen)
    • 4339dc4 docs: Update README (GitHub Actions Bot)
    • 8f17247 chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas)
    • 4e4049c docs: optimize code block structure (#16669) (Sam Chen)
    • 54a7ade docs: do not escape code blocks of formatters examples (#16719) (Sam Chen)
    • 52c7c73 feat: check assignment patterns in no-underscore-dangle (#16693) (Milos Djermanovic)
    • e5ecfef docs: Add function call example for no-undefined (#16712) (Elliot Huffman)
    • a3262f0 docs: Add mastodon link (#16638) (Amaresh S M)
    • 4cd87cb ci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot])
    • a14ccf9 docs: clarify files property (#16709) (Sam Chen)
    • 3b29eb1 docs: fix npm link (#16710) (Abdullah Osama)
    • fd20c75 chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien)
    • a638673 docs: fix search bar focus on Esc (#16700) (Shanmughapriyan S)
    • f62b722 docs: country flag missing in windows (#16698) (Shanmughapriyan S)
    • 4d27ec6 docs: display zh-hans in the docs language switcher (#16686) (Percy Ma)
    • 8bda20e docs: remove manually maintained anchors (#16685) (Percy Ma)
    • b401cde feat: add options to check destructuring in no-underscore-dangle (#16006) (Morten Kaltoft)
    • b68440f docs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)
    • 30d0daf feat: group properties with values in parentheses in key-spacing (#16677) (Francesco Trotta)
    • 10a5c78 chore: update ignore patterns in eslint.config.js (#16678) (Milos Djermanovic)

    v8.30.0 - December 16, 2022

    • f2c4737 chore: upgrade @​eslint/eslintrc@​1.4.0 (#16675) (Milos Djermanovic)
    • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)
    • 075ef2c feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)
    • ba74253 chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)
    • 6a8cd94 docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)
    • 0d9af4c ci: fix npm v9 problem with file: (#16664) (Milos Djermanovic)
    • 7190d98 feat: update globals (#16654) (Sébastien Règne)
    • ad44344 docs: CLI documentation standardization (#16563) (Ben Perlmutter)
    • 90c9219 refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)
    • 9b8bb72 fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)
    • 293573e docs: fix broken line numbers (#16606) (Sam Chen)
    • fa2c64b docs: use relative links for internal links (#16631) (Percy Ma)
    • 75276c9 docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)
    • 7276fe5 docs: Fix anchor in URL (#16628) (Karl Horky)
    • 6bef135 docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)
    • dfc7ec1 docs: Formatters page updates (#16566) (Ben Perlmutter)
    • 8ba124c docs: update the prefer-const example (#16607) (Pavel)
    • e6cb05a docs: fix css leaking (#16603) (Sam Chen)

    v8.29.0 - December 2, 2022

    • 0311d81 docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Chore(deps): Bump react-hook-form from 7.36.0 to 7.41.3

    Chore(deps): Bump react-hook-form from 7.36.0 to 7.41.3

    Bumps react-hook-form from 7.36.0 to 7.41.3.

    Release notes

    Sourced from react-hook-form's releases.

    Version 7.41.3

    💁‍♂️ close #9684 revert UnPackAsyncDefaultValues to avoid TS breaking change

    Version 7.41.2

    🤦🏻‍♂️fix #9661 regression on required valueAsNumber (#9662)

    🎅 Version 7.41.1

    🐞 fix #9659 NaN prevent validation update (#9660) 🕯️ close #9524 useWatch return undefined value (#9653) 📖 adjust contributing document (#9641) 💆🏻 fix #9621 with the inline default value (#9622) 🩻 docs: update contribution guidelines (#9605)

    thanks to @​Mini-ghost and @​stefanpl

    🎄 Version 7.41.0

    👉 NEW values props

    The following syntax will react to values prop update/changes.

    • values will be reactive to update/change and reset accordingly
    • provide a reset option to keep dirty/touched values potentially
    const values = await fetch('API')
    

    useForm({ values, // will reset the form when values updates // resetOptions: { // keepDirtyValues: true // } })


    👉 NEW async defaultValues props

    The following syntax will support async defaultValues, so we will manage the reset form internally and update formState accordingly.

    • promise will only be resolved once during useForm() call
    • It's possible to supply resetOptions as well
    const { formState: { isLoading } } = useForm({
      defaultValues: fetch('API')
      // resetOptions: {
      //   keepDirtyValues: true
      // }
    })
    </tr></table> 
    

    ... (truncated)

    Changelog

    Sourced from react-hook-form's changelog.

    Changelog

    [7.40.0] - 2022-11-30

    Changed

    • async validation (or combined with sync) will always the take the latest validation result and abort the previous

    [7.39.5] - 2022-11-21

    Changed

    • Conditional render useFormState will trigger an extra re-render to reflect the current formState

    [7.39.0] - 2022-11-2

    Changed

    • isValid formState is no longer only applicable with onChange, onTouched, and onBlur mode.

    [7.38.0] - 2022-10-19

    Added

    • support build-in validation with input type week and time
    <input {...register("week", { min: "2022-W40" })} type="week" />
    <input {...register("time", { min: "11:00" })} type="time" />
    

    [7.37.0] - 2022-10-07

    Added

    • new formState defaultValues
    const { formState, watch } = useForm({
      defaultValues: { name: 'test' },
    });
    const { defaultValues } = useFormState();
    

    const name = watch('name');

    return ( <div> <p>Your name was {defaultValues.name}</p> <p>Updated name is {name}</p> </div> </tr></table>

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Chore(deps-dev): Bump @graphql-codegen/cli from 2.12.1 to 2.16.2

    Chore(deps-dev): Bump @graphql-codegen/cli from 2.12.1 to 2.16.2

    Bumps @graphql-codegen/cli from 2.12.1 to 2.16.2.

    Changelog

    Sourced from @​graphql-codegen/cli's changelog.

    2.16.2

    Patch Changes

    2.16.1

    Patch Changes

    2.16.0

    Minor Changes

    Patch Changes

    • Updated dependencies [c0183810f]:
      • @​graphql-codegen/plugin-helpers@​3.1.0

    2.15.1

    Patch Changes

    ... (truncated)

    Commits
    • 8248c50 chore(release): update monorepo packages versions (#8717)
    • a9c5414 Updated @​graphql-tools/prisma-loader package (#8765)
    • ed87c78 fix(deps): update dependency @​graphql-tools/utils to v9 (#8771)
    • e6ff224 fix(deps): update dependency cosmiconfig-typescript-loader to v4.3.0 (#8729)
    • b1512a5 fix(deps): update dependency cosmiconfig-typescript-loader to v4.2.0 (#8715)
    • 73e212d chore(release): update monorepo packages versions (#8714)
    • f180860 chore(release): update monorepo packages versions (#8713)
    • 59cde60 chore(release): update monorepo packages versions (#8676)
    • c018381 Features/improved before one file write hook (#8662)
    • 8ff9b41 fix(deps): update dependency @​whatwg-node/fetch to ^0.5.0 (#8706)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Chore(deps): Bump chakra-react-select from 4.2.2 to 4.4.3

    Chore(deps): Bump chakra-react-select from 4.2.2 to 4.4.3

    Bumps chakra-react-select from 4.2.2 to 4.4.3.

    Release notes

    Sourced from chakra-react-select's releases.

    4.4.3

    What's Changed

    Full Changelog: https://github.com/csandman/chakra-react-select/compare/v4.4.2...v4.4.3

    4.4.2

    What's Changed

    Full Changelog: https://github.com/csandman/chakra-react-select/compare/v4.4.1...v4.4.2

    4.4.1

    What's Changed

    New Contributors

    Full Changelog: https://github.com/csandman/chakra-react-select/compare/v4.4.0...v4.4.1

    4.4.0

    What's Changed

    Full Changelog: https://github.com/csandman/chakra-react-select/compare/v4.3.0...v4.4.0

    4.3.0

    What's Changed

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Chore(deps): Bump decode-uri-component from 0.2.0 to 0.2.2

    Chore(deps): Bump decode-uri-component from 0.2.0 to 0.2.2

    Bumps decode-uri-component from 0.2.0 to 0.2.2.

    Release notes

    Sourced from decode-uri-component's releases.

    v0.2.2

    • Prevent overwriting previously decoded tokens 980e0bf

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2

    v0.2.1

    • Switch to GitHub workflows 76abc93
    • Fix issue where decode throws - fixes #6 746ca5d
    • Update license (#1) 486d7e2
    • Tidelift tasks a650457
    • Meta tweaks 66e1c28

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies javascript 
    opened by dependabot[bot] 1
Owner
Jeremy Nguyen
Computer Science major at UC San Diego. Intern at CoStar Group
Jeremy Nguyen
CRUD App using MERN Stack, it uses ReactJS for Front-end, NodeJS, Express For the Backend and Mongo DB as database!

Book Collection List ?? Demonstration of the application | Features | Technologies used | Application installation ?? Demonstration of the application

Victor Lira 33 Nov 20, 2022
An easy and straight forward full-stack web application boilerplate using Node.js Express as backend and React as frontend.

An easy and straight forward full-stack web application boilerplate using Node.js Express as backend and React as frontend. All packages are structured as Yarn Workspaces and written in Typescript. In addition, the web application can be built as Docker image using a multi stage built supported Dockerfile.

null 23 Dec 16, 2022
CLI, Local API and Local client for React and Typescript: Build a Portfolio Project course.

?? JBook (CLI, Local API, Local Client) Complete project of React and Typescript: Build a Portfolio Project course. You can find the whole repo at Git

Mustafa Hayati 0 Oct 30, 2021
winwiz1 157 Dec 28, 2022
An example to show a full end-to-end app using express and redux.

Sample Express-Redux Application Purpose This is a sample project to help you bootstrap an entire web application from end to end! When trying to buil

Angel Batista 198 Jul 13, 2022
Fyodor Simonov 3 Apr 15, 2022
A ready to customize project to make a nice webapp using Node.js (Express.js) for the backend and React with Typescript and Redux for the frontend.

A ready to customize project to make a nice webapp using Node.js (Express.js) for the backend and React with Typescript and Redux for the frontend.

Elia Lazzari 3 Mar 16, 2022
Full Stack boilerplate with JWT Authentication - Built with React, Typescript, Node, Express, GraphQL, PostgreSQL, Redis, and Webpack

Full Stack boilerplate with JWT Authentication - Built with React, Typescript, Node, Express, GraphQL, PostgreSQL, Redis, and Webpack

Scott Jason 7 Sep 21, 2022
A front end project using react js, html and CSS to fetch data from the pokemon API.

A front end project using react js, html and CSS to fetch data from the pokemon API. The web application searches for Pokemon characters and displays their stats and images.

Vincent Nyapuodi 1 Nov 1, 2021
An excellent front-end solution for enterprise applications built upon Ant Design and UmiJS

AntD Admin An excellent front-end solution for enterprise applications. Preview - https://antd-admin.zuiidea.com Documentation - https://doc.antd-admi

zuiidea 9.2k Jan 5, 2023
This the front-end part of the billionaires app built with reactJS.

Appointments App (Front-end) This is the React front-end repository for an appointments web-app. We use React for the front-end, and Ruby on Rails for

rachid el aid 4 Jun 20, 2022
Full-stack React app built with Typescript, Bootstrap, Apollo client on the frontend, and NodeJS/Express, Typescript, Apollo server, and MongoDB/mongoose on the backend.

Event Scheduler App This project was bootstrapped with Create React App. Event Scheduler is a React app that allows users to create events. An event c

ahmed 8 Dec 1, 2022
Free and open-source MERN Stack CRUD Application built with React v17+, RRDv6+, Node.js, Express.js MongoDB and Mongoose ODM

?? MERN Stack CRUD Application Free and open-source MERN Stack CRUD Application built with React v17+, RRDv6+, Node.js, Express.js MongoDB and Mongoos

Henok R. Bedassa 20 Dec 19, 2022
React e Typescript - Template para iniciar rapidamente novos projetos Front-End

React e Typescript - Template para iniciar rapidamente novos projetos Front-End

Alisson Gabriel 1 Feb 27, 2022
Tutorial from the channel I want to be a dev for beginners on the front-end. Here we have the initial steps for testing in react.

Tutorial from the channel I want to be a dev for beginners on the front-end. Here we have the initial steps for testing in react.

Simara Conceição 8 Dec 23, 2022
NG-ZORRO admin panel front-end framework (surge mirror https://ng-alain-doc.surge.sh)

NG-ALAIN Out-of-box UI solution for enterprise applications, Let developers focus on business. English | 简体中文 Quickstart Getting Started Links Documen

null 4.4k Jan 7, 2023
A demo repo to dockerize React Frontend(using Create React App) and Express Backend

This is a Demo Repository to dockerize a React frontend and an express backend in a single container. The two important files are: Dockerfile contains

Raghavendra Kaushik 7 Nov 2, 2022
Learning to create environment for full stack serverless development using React and API (FARM)

page_type languages products description urlFragment sample javascript typescript azure functions Apps that can be used with as a starting point for s

Balakumar 0 Mar 22, 2022
ArtemisQL is a GraphQL migration and database visualizer tool that empowers developers to build GraphQL schemas with ease.

ArtemisQL A GraphQL migration tool and relational database visualizer ?? Overview ArtemisQL is an open-source web application providing a SQL (Postgre

OSLabs Beta 108 Sep 23, 2022