No description
Find a file
2025-10-09 15:05:20 +02:00
.idea das meiste aktualisiert 2025-09-13 20:11:33 +02:00
backend Bump express from 4.16.4 to 4.19.2 in /backend 2024-03-26 05:40:06 +00:00
src Umgestellt auf React createRoot() und Redux-Toolkit configureStore(). 2023-03-20 19:32:50 +01:00
src-examples/zod Updates round 4b (eslint) 2024-07-01 23:01:16 +02:00
src-solution-async-calls Ist schon standardmäßig drin. 2024-08-13 10:44:39 +02:00
src-solution-data-validation Updates round 4b (eslint) 2024-07-01 23:01:16 +02:00
src-solution-forms Umgestellt auf React createRoot() und Redux-Toolkit configureStore(). 2023-03-20 19:32:50 +01:00
src-solution-hooks Mit Überschrift versteht man besser was los ist. 2024-08-05 19:45:12 +02:00
src-solution-react Leeres File. 2024-08-05 16:13:32 +02:00
src-solution-react-2 Formatierungen für Folien. 2024-08-05 16:14:23 +02:00
src-solution-react-layout Umgestellt auf React createRoot() und Redux-Toolkit configureStore(). 2023-03-20 19:32:50 +01:00
src-solution-react-lifecycle Umgestellt auf React createRoot() und Redux-Toolkit configureStore(). 2023-03-20 19:32:50 +01:00
src-solution-react-lifecycle-hooks Updates round 4b (eslint) 2024-07-01 23:01:16 +02:00
src-solution-redux-1 Formatierungen für Folien. 2024-08-05 16:14:23 +02:00
src-solution-redux-2 Abhängigkeit von optionalem Modul entfernt. 2024-08-05 16:24:15 +02:00
src-solution-redux-big Updates round 4b (eslint) 2024-07-01 23:01:16 +02:00
src-solution-redux-hooks Updates round 4b (eslint) 2024-07-01 23:01:16 +02:00
src-solution-redux-simple Updates round 4b (eslint) 2024-07-01 23:01:16 +02:00
src-solution-redux-tools Updates round 4a (redux) 2024-07-01 17:31:36 +02:00
src-solution-routing Importe gefixt. 2023-03-24 20:29:57 +01:00
src-solution-tanstack-query Updates round 4b (eslint) 2024-07-01 23:01:16 +02:00
src-solution-useReducer useReducer hat wohl die API geändert... 2025-10-09 15:05:20 +02:00
test Kleine Änderungen. 2023-03-20 13:18:01 +01:00
test-exercises-zod Updates round 4b (eslint) 2024-07-01 23:01:16 +02:00
test-solution-async-calls react und konsorten 2025-09-13 19:31:43 +02:00
test-solution-async-calls-tanstack-query Kleinere Korrekturen und Ergänzungen bei Tests. 2023-04-17 08:46:32 +02:00
test-solution-react Kleinere Korrekturen und Ergänzungen bei Tests. 2023-04-17 08:46:32 +02:00
test-solution-react-integration Umgestellt auf React Testing Library statt Enzyme. Außerdem React 18. 2023-03-20 19:16:07 +01:00
test-solution-redux Abhängigkeit von optionalem Modul entfernt. 2024-08-05 16:24:15 +02:00
test-solution-redux-hooks Redux-Code aus Workshop zurückgeholt. 2023-06-28 07:28:01 +02:00
test-typescript Ersten Test für den Abschnitt "TypeScript" zugefügt. 2020-07-15 11:36:15 +02:00
types Extended Jest Matcher wird jetzt korrekt vom Typescript Typecheck erkannt. 2025-10-09 15:04:58 +02:00
.eslintrc.js eslint config aktualisiert 2025-09-22 15:43:12 +02:00
.gitignore gitignore with .idea 2025-09-13 18:48:17 +02:00
babel.config.js Formatierung für die Folien. 2021-03-09 23:05:24 +01:00
index.html Javascript dateien initial übertragen 2019-03-05 18:32:02 +01:00
jest.config.js Extended Jest Matcher wird jetzt korrekt vom Typescript Typecheck erkannt. 2025-10-09 15:04:58 +02:00
jest.setup.ts Updates round 4b (eslint) 2024-07-01 23:01:16 +02:00
package.json eslint und ein paar andere 2025-09-22 15:33:39 +02:00
README.md updated Readme 2025-09-22 20:13:13 +02:00
tsconfig.json Extended Jest Matcher wird jetzt korrekt vom Typescript Typecheck erkannt. 2025-10-09 15:04:58 +02:00
tsconfig.test.json Babel-Konfiguration zugefügt (wird von Jest benötigt!) 2020-07-14 15:58:16 +02:00
webpack.config.js webpack 2025-09-13 19:23:00 +02:00
webpack.prod.config.js Webpack aktualisiert. Jetzt ist keine Sonderbehandlung für Windows mehr nötig :-) 2021-03-07 11:43:45 +01:00
WICHTIG Kommentar zu Jest Version Freeze zugefügt 2025-09-22 15:34:57 +02:00

RRTSCode

Code for a React-Redux training in TypeScript.

Prerequisites

To successfully use this codebase, please install:

First Steps

  • Check out this repository from GitHub
  • cd into that directory
  • Install required modules: npm install (in case of errors please use npm install --legacy-peer-deps)
  • Launch the development server:
  • Run the tests:
    • npm test (either in the console or from your IDE)
    • There should be 1 passing test.

Trying out the solutions

Webpack accesses the files in the folder src by default. This way, you can implement and experiment with your own solutions step by step during the training.

To use the included examples, open the file webpack.config.js and change the path in the block entry such that it points to one of the other index.js files. Example:

    entry: [
        "./src-solution-redux-3/index"
    ],

The examples are fully functional and build on each other (in alphabetical order, except for "async" and "forms"). Please be aware that the final example requires a server to handle the emitted AJAX requests. A basic server is provided in the directory backend.