Skip to content

Instantly share code, notes, and snippets.

View nodece's full-sized avatar

Zixuan Liu nodece

  • Shenyang, China
  • 02:06 (UTC +08:00)
View GitHub Profile
@nodece
nodece / Caddyfile
Last active June 9, 2019 08:43
Deploy the SPA to Docker
app.com {
tls email
log stdout
rewrite {
regexp .*
to {path} /
}
}
app.com/api {
log stdout
@nodece
nodece / Dockerfile
Last active June 5, 2019 11:23
Deploy the Golang application to Docker
FROM golang:alpine as build-env
RUN apk update
RUN apk add --no-cache git
ADD . /app/
WORKDIR /app
ENV GOPROXY https://goproxy.io
RUN go mod download

100 Stupid Questions for React Native

What is React Native? Is it same as React?

React Native lets you build mobile apps using only JavaScript. It uses the same design as React, letting you compose a rich mobile UI from declarative components.

https://facebook.github.io/react-native/

Is React Native easy to learn?

It depends on what project you are going to build. As for front-end developer, you nearly need to learn nothing, only a new way to write javascript (Redux, JSX).

Do I must learn Redux?