GithubHelp home page GithubHelp logo

ignews's Introduction

stripe - payment management

faunaDB - database good for serverless. WHY?

"serverless" - what is it?

prismic CMS - content management system

github oauth - can't register users because app lacks backend (why?)

  • single-page application versus server side rendering (LOTS OF CONTENT: products, texts)

  • NEXT JS runs in a node server. It does not replace a full-blown backend server, as it is a server with the unique purpose of rendering a layout.

  • NextJS works with routes. How does pure react work with routes?

  • _app works as a route manager, and will generate the page asked by the user. It reruns every time a user loads a new page.

  • in NextJS, all images should live in the public folder. You can import them without giving the full path as source

  • center text vertically: by setting line height to the same size of height.

  • css ::after adds an element after the content, before the HTML tag closes

  • react icons plugin

  • one-sided auto margins

  • API calls using the state + useEffect technique we've learned, only happen at a browser level. That means, the page will be rendered first and then the call will happen, causing a design shift and making items invisible to bots and crawlers. Calls can (and in this case, should, happen in the server)

  • SSR with nextJS by using getServerSideProps

  • Intl API: internationalization API, provides NumberFormat and DateTimeFormat, for dealing natively with currencies, percentages and dates

  • Static Site Generation with getStaticProps

  • When to use Client Side API calls, Server Side or Static Site Generation

-next-auth for authentication with several providers

ignews's People

Contributors

jbiers avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.