Git Product home page Git Product logo

react-hooks-docker's Introduction

React in Kubernetes. React app Dockerfile + nginx example

Kubernetes, NGINX, and Docker

  1. Docker file for React Production in Azure Kubernetes
  2. nginx file which is suitable for React standalone in Azure Kubernetes
  3. nginx https -> http routing using nginx

Good article regarding Dockerizing React App: https://dev.to/karanpratapsingh/dockerize-your-react-app-4j2e

Redshift

React Hooks

Interesting Sites:

Simple Examples

[Beginner] Use State

Use State Example

UseState with PrevState

[Beginner] Use Effect

Use Effect Example

  • [] in the end means "to run only once in the very beginning"
  • [user] to raise every time when property "user" changes.
  • without declaring second parameter in useEffect - runs after any changes (possibly mupliple runs)

[Beginner] Use Reducer

Use Reducer Example

[Beginner] Use Ref

Use Ref Example

[Intermediate] Custom Hook (useState custom hook, useFetch custom hook)

Use Custom Hooks Example
UseFetch Custom Hook (Call to Github) Example

[Intermediate] SetInterval and how to properly handle it using custom Hook

SetInterval

Context

[Intermediate] Simple useContext createContext Example

useContext CreateContext Example
Simple useContext + Custom Hook for Context

[Intermediate][Javascript] Context + Reducer (Redux Pattern, contextApi)

UseReducer with Context, Redux Pattern
UseFetch + UseReducer + UseContext, Redux Pattern

[Advanced][Typescript] Context + combineReducers + Multiple Storages + SCSS (ContextAPI)

UseReducer, combineReducers, ContextAPI
UseReducer, combineReducers, ContextAPI, SCSS
IN PROGRESS: env, Login with Okta

Ajax Polling vs Long-Polling vs WebSocket

image image image image

react-hooks-docker's People

Contributors

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