All Projects → kamranayub → sample-react-ts-app

kamranayub / sample-react-ts-app

Licence: other
Sample TypeScript + React companion app to my talks

Programming Languages

typescript
32286 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to sample-react-ts-app

cloud-cap-risk-management
The SAP Risk Management example applications show how to deploy a CAP (SAP Cloud Application Programming model) application to Cloud Foundry and Kyma.
Stars: ✭ 36 (+111.76%)
Mutual labels:  sample
design-system-talks
🍿A collection of talks on design systems
Stars: ✭ 98 (+476.47%)
Mutual labels:  conference
cloud-cf-espm
A reference application showcasing an end-to-end development scenario in Java on SAP BTP, Cloud Foundry environment.
Stars: ✭ 14 (-17.65%)
Mutual labels:  sample
awesome-croatia
A curated list of things that show the awesome side of Croatia 😎 🇭🇷
Stars: ✭ 34 (+100%)
Mutual labels:  conference
play-scala-seed.g8
Play Scala Seed Template: run "sbt new playframework/play-scala-seed.g8"
Stars: ✭ 66 (+288.24%)
Mutual labels:  sample
cybaca
Small app for huge community growth
Stars: ✭ 16 (-5.88%)
Mutual labels:  conference
android-architecture
MVI architecture Implementation of the ToDo app.
Stars: ✭ 668 (+3829.41%)
Mutual labels:  sample
hcp-portal-service-samples
Code samples of site and page templates, applications, widgets, shell plugins and more, intended to be used as references for development of custom content for SAP HANA Cloud Platform portal service sites.
Stars: ✭ 29 (+70.59%)
Mutual labels:  sample
awesome-conference-videos
🎸 Conference videos. Visit http://learntalks.com/
Stars: ✭ 40 (+135.29%)
Mutual labels:  conference
ui5-service-worker-sample
ui5-service-worker-sample demonstrates how the Service Worker API, available in modern web browsers, could be used in a UI5 app to realize different caching strategies.
Stars: ✭ 16 (-5.88%)
Mutual labels:  sample
yaas-getting-started-yaasbites
YaaS bites (our getting started series) is a tutorial and sample code set consisting of small, incremental coding exercises to help a developer learn the basics of the YaaS platform. Its goal is to ensure that a Software Developer's initial journies into YaaS are productive and successful.
Stars: ✭ 14 (-17.65%)
Mutual labels:  sample
Dagger2-Sample
Very simple example to use Dagger 2
Stars: ✭ 13 (-23.53%)
Mutual labels:  sample
imooc-promise-sample
📝 幕课网Promise入门视频源码(https://www.imooc.com/learn/949)
Stars: ✭ 87 (+411.76%)
Mutual labels:  sample
fiori-elements-feature-showcase
Sample application that demonstrates and documents a broad variety of features of SAP Fiori elements for OData V4. Developers can play around with the new features and learn how to implement them.
Stars: ✭ 76 (+347.06%)
Mutual labels:  sample
cloud-cap-walkthroughs
This project contains exercises and tutorials for SAP Cloud Application Programming Model.
Stars: ✭ 66 (+288.24%)
Mutual labels:  sample
visconf
Generate an animated version of presentation from slides and transcript!
Stars: ✭ 33 (+94.12%)
Mutual labels:  conference
kmm-integration-sample
No description or website provided.
Stars: ✭ 58 (+241.18%)
Mutual labels:  sample
Pentest-Bookmarkz
A collection of useful links for Pentesters
Stars: ✭ 118 (+594.12%)
Mutual labels:  conference
AsyncVoid
Project related to the site's posts about async void.
Stars: ✭ 32 (+88.24%)
Mutual labels:  sample
play-java-rest-api-example
REST API using Play in Java
Stars: ✭ 44 (+158.82%)
Mutual labels:  sample

Scalable & Maintainable Apps with React and TypeScript Sample

Sample create-react-app-typescript using TypeScript and React to showcase some patterns and practices I use when developing apps.

Goes along with:

Notes on Testing

I use the RecursivePartial<T> helper a lot to write tests for Redux. It allows you to mock out state partially while still maintaining type safety.

See example in src/screens/app/screens/game/state/reducers/__tests__/details.ts

Notes on Module Resolution

Due to this issue we cannot reasonably use the shared folder alias because it doesn't truly recurse upwards to search for components.

Instead, we've settled on just using absolute paths like ~/screens/app/screens/game/shared/Component

TODO

  • Add TOC of patterns/tips referenced in slides
  • Add back moduleNameMapper to package.json jest config once fixed in [email protected]:
    • "jest": {
        "moduleNameMapper": {
          "^~/(.*)": "<rootDir>/src/$1"
        }
      }
      
  • Show typing of React.Component.defaultProps and how that works
  • Better async dispatch typing/boilerplate
  • Show CSS-in-JS example (maybe with emotion)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].