macaw-cad / react-thingy Goto Github PK
View Code? Open in Web Editor NEWCool .NET core 2.2 + React + Redux + TypeScript + Hypernova (SSR) "getting started" project - we don't call it a boilerplate, we call it a thingy!
Cool .NET core 2.2 + React + Redux + TypeScript + Hypernova (SSR) "getting started" project - we don't call it a boilerplate, we call it a thingy!
Currently we're using HOCs for almost all components. This could lead to deep nesting with the possibility of Typescript malfunctions.
These HOCs should be rewritten to custom hooks. It would be much clearer where all the data in a component is coming from.
The files init.sh, sshd_config and supervisord.conf are converted from do to unix format before building the docker image, meaning they change in git all the time, do conversion to unix format (required) in the docker build like it is done in https://github.com/macaw-interactive/react-jss-typescript-starter/blob/develop/samples/react-typescript/Docker/Dockerfile.
Currently we compile the clientside bundle to ES5 and the serverside bundle to ES2018. It might be a good idea to keep those equal to each other. This way we have a certainty that the code behaves the same everywhere.
An issue I ran across was the creating an instance of a class with properties in it, like this for example:
public class Car {
public wheels: number;
public doors: number;
}
Clientside we can create a new instance of Car
and access the wheels
and doors
properties.
Serverside we can create a new instance of Car
, but the instance doesn't contain the properties anymore.
Update to the latest code using hooks, baseReduxLoader etc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.