|
609 | 609 | "description": "React useCallback",
|
610 | 610 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
611 | 611 | },
|
612 |
| - "nextGSS": { |
613 |
| - "prefix": "nGSS.$nGSS.getServerSideProps.🟨", |
| 612 | + "nextSSR": { |
| 613 | + "prefix": "nSSR.$nSSR.getServerSideProps.🟨", |
614 | 614 | "body": [
|
615 | 615 | "export async function getServerSideProps(${1:{ req, res, params, query \\}}) {",
|
616 | 616 | "\t${0:// code}",
|
|
624 | 624 | "description": "Next.js getServerSideProps",
|
625 | 625 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
626 | 626 | },
|
627 |
| - "nextGST": { |
628 |
| - "prefix": "nGST.$nGST.getStaticProps.🟨", |
| 627 | + "nextSSG": { |
| 628 | + "prefix": "nSSG.$nSSG.getStaticProps.🟨", |
629 | 629 | "body": [
|
630 | 630 | "export async function getStaticProps(${1:{ params \\}}) {",
|
631 | 631 | "\t${0:// code}",
|
|
655 | 655 | "description": "Next.js getStaticPaths",
|
656 | 656 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
657 | 657 | },
|
658 |
| - "nextPageGSS": { |
659 |
| - "prefix": "npGSS.$npGSS.🟨", |
| 658 | + "nextPageSSR": { |
| 659 | + "prefix": "npSSR.$npSSR.🟨", |
660 | 660 | "body": [
|
661 | 661 | "export async function getServerSideProps(${2:{ req, res, params, query \\}}) {",
|
662 | 662 | "\t${0:// code}",
|
|
678 | 678 | "description": "Next.js page with getServerSideProps",
|
679 | 679 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
680 | 680 | },
|
681 |
| - "nextPageGST": { |
682 |
| - "prefix": "npGST.$npGST.🟨", |
| 681 | + "nextPageSSG": { |
| 682 | + "prefix": "npSSG.$npSSG.🟨", |
683 | 683 | "body": [
|
684 | 684 | "export async function getStaticProps(${2:{ params \\}}) {",
|
685 | 685 | "\t${0:// code}",
|
|
701 | 701 | "description": "Next.js page with getStaticProps",
|
702 | 702 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
703 | 703 | },
|
704 |
| - "nextGSSArrowFunction": { |
705 |
| - "prefix": "naGSS.$naGSS.getServerSideProps.🟨", |
| 704 | + "nextSSRArrowFunction": { |
| 705 | + "prefix": "naSSR.$naSSR.getServerSideProps.🟨", |
706 | 706 | "body": [
|
707 | 707 | "export const getServerSideProps = async (${1:{ req, res, params, query \\}}) => {",
|
708 | 708 | "\t${0:// code}",
|
|
716 | 716 | "description": "Next.js getServerSideProps arrow function",
|
717 | 717 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
718 | 718 | },
|
719 |
| - "nextGSTArrowFunction": { |
720 |
| - "prefix": "naGST.$naGST.getStaticProps.🟨", |
| 719 | + "nextSSGArrowFunction": { |
| 720 | + "prefix": "naSSG.$naSSG.getStaticProps.🟨", |
721 | 721 | "body": [
|
722 | 722 | "export const getStaticProps = async (${1:{ params \\}}) => {",
|
723 | 723 | "\t${0:// code}",
|
|
747 | 747 | "description": "Next.js getStaticPaths arrow function",
|
748 | 748 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
749 | 749 | },
|
750 |
| - "nextPageGSSArrowFunction": { |
751 |
| - "prefix": "npaGSS.$npaGSS.🟨", |
| 750 | + "nextPageSSRArrowFunction": { |
| 751 | + "prefix": "npaSSR.$npaSSR.🟨", |
752 | 752 | "body": [
|
753 | 753 | "export const getServerSideProps = async (${2:{ req, res, params, query \\}}) => {",
|
754 | 754 | "\t${0:// code}",
|
|
772 | 772 | "description": "Next.js page with getServerSideProps",
|
773 | 773 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
774 | 774 | },
|
775 |
| - "nextPageGSTArrowFunction": { |
776 |
| - "prefix": "npaGST.$npaGST.🟨", |
| 775 | + "nextPageSSGArrowFunction": { |
| 776 | + "prefix": "npaSSG.$npaSSG.🟨", |
777 | 777 | "body": [
|
778 | 778 | "export const getStaticProps = async (${2:{ params \\}}) => {",
|
779 | 779 | "\t${0:// code}",
|
|
836 | 836 | "description": "Next.js Custom Document component",
|
837 | 837 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
838 | 838 | },
|
839 |
| - "tsNextGSS": { |
840 |
| - "prefix": "nxGSS.TS.$$nxGSS.getServerSideProps.🟦", |
| 839 | + "tsNextSSR": { |
| 840 | + "prefix": "nSSR.TS.$$nSSR.getServerSideProps.🟦", |
841 | 841 | "body": [
|
842 | 842 | "import { GetServerSidePropsContext, GetServerSidePropsResult } from 'next'",
|
843 | 843 | "",
|
|
858 | 858 | "description": "Next.js getServerSideProps",
|
859 | 859 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
860 | 860 | },
|
861 |
| - "tsNextGST": { |
862 |
| - "prefix": "nxGST.TS.$$nxGST.getStaticProps.🟦", |
| 861 | + "tsNextSSG": { |
| 862 | + "prefix": "nSSG.TS.$$nSSG.getStaticProps.🟦", |
863 | 863 | "body": [
|
864 | 864 | "import { GetStaticPropsContext, GetStaticPropsResult } from 'next'",
|
865 | 865 | "",
|
|
881 | 881 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
882 | 882 | },
|
883 | 883 | "tsNextGSP": {
|
884 |
| - "prefix": "nxGSP.TS.$$nxGSP.getStaticPaths.🟦", |
| 884 | + "prefix": "nGSP.TS.$$nGSP.getStaticPaths.🟦", |
885 | 885 | "body": [
|
886 | 886 | "import { GetStaticPathsResult } from 'next'",
|
887 | 887 | "",
|
|
898 | 898 | "description": "Next.js getStaticPaths",
|
899 | 899 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
900 | 900 | },
|
901 |
| - "tsNextPageGSS": { |
902 |
| - "prefix": "nxpGSS.TS.$$nxpGSS.🟦", |
| 901 | + "tsNextPageSSR": { |
| 902 | + "prefix": "npSSR.TS.$$npSSR.🟦", |
903 | 903 | "body": [
|
904 | 904 | "import { GetServerSidePropsContext, GetServerSidePropsResult } from 'next'",
|
905 | 905 | "",
|
|
928 | 928 | "description": "Next.js page with getServerSideProps",
|
929 | 929 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
930 | 930 | },
|
931 |
| - "tsNextPageGST": { |
932 |
| - "prefix": "nxpGST.TS.$$nxpGST.🟦", |
| 931 | + "tsNextPageSSG": { |
| 932 | + "prefix": "npSSG.TS.$$npSSG.🟦", |
933 | 933 | "body": [
|
934 | 934 | "import { GetStaticPropsContext, GetStaticPropsResult } from 'next'",
|
935 | 935 | "",
|
|
958 | 958 | "description": "Next.js page with getStaticProps",
|
959 | 959 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
960 | 960 | },
|
961 |
| - "tsNextGSSArrowFunction": { |
962 |
| - "prefix": "nxaGSS.TS.$$nxaGSS.getServerSideProps.🟦", |
| 961 | + "tsNextSSRArrowFunction": { |
| 962 | + "prefix": "naSSR.TS.$$naSSR.getServerSideProps.🟦", |
963 | 963 | "body": [
|
964 | 964 | "import { GetServerSideProps } from 'next'",
|
965 | 965 | "",
|
|
977 | 977 | "description": "Next.js getServerSideProps arrow function",
|
978 | 978 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
979 | 979 | },
|
980 |
| - "tsNextGSTArrowFunction": { |
981 |
| - "prefix": "nxaGST.TS.$$nxaGST.getStaticProps.🟦", |
| 980 | + "tsNextSSGArrowFunction": { |
| 981 | + "prefix": "naSSG.TS.$$naSSG.getStaticProps.🟦", |
982 | 982 | "body": [
|
983 | 983 | "import { GetStaticProps } from 'next'",
|
984 | 984 | "",
|
|
997 | 997 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
998 | 998 | },
|
999 | 999 | "tsNextGSPArrowFunction": {
|
1000 |
| - "prefix": "nxaGSP.TS.$$nxaGSP.getStaticPaths.🟦", |
| 1000 | + "prefix": "naGSP.TS.$$naGSP.getStaticPaths.🟦", |
1001 | 1001 | "body": [
|
1002 | 1002 | "import { GetStaticPaths } from 'next'",
|
1003 | 1003 | "",
|
|
1014 | 1014 | "description": "Next.js getStaticPaths arrow function",
|
1015 | 1015 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
1016 | 1016 | },
|
1017 |
| - "tsNextPageGSSArrowFunction": { |
1018 |
| - "prefix": "nxpaGSS.TS.$$nxpaGSS.🟦", |
| 1017 | + "tsNextPageSSRArrowFunction": { |
| 1018 | + "prefix": "npaSSR.TS.$$npaSSR.🟦", |
1019 | 1019 | "body": [
|
1020 | 1020 | "import { GetServerSideProps } from 'next'",
|
1021 | 1021 | "",
|
|
1043 | 1043 | "description": "Next.js page with getServerSideProps",
|
1044 | 1044 | "scope": "javascript,typescript,javascriptreact,typescriptreact"
|
1045 | 1045 | },
|
1046 |
| - "tsNextPageGSTArrowFunction": { |
1047 |
| - "prefix": "nxpaGST.TS.$$nxpaGST.🟦", |
| 1046 | + "tsNextPageSSGArrowFunction": { |
| 1047 | + "prefix": "npaSSG.TS.$$npaSSG.🟦", |
1048 | 1048 | "body": [
|
1049 | 1049 | "import { GetStaticProps } from 'next'",
|
1050 | 1050 | "",
|
|
0 commit comments