Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
c58db6a
Refactored some stuff
bennobuilder Oct 10, 2020
ec5d812
Refactored storage
bennobuilder Oct 10, 2020
0c18887
Some small storage fixes
bennobuilder Oct 10, 2020
00058d2
Reformat Tests
bennobuilder Oct 11, 2020
fccd4c2
x
bennobuilder Oct 11, 2020
32949ab
Refactored State persist logic
bennobuilder Oct 11, 2020
0048af0
x
bennobuilder Oct 11, 2020
2ca6992
Created persistent.ts
bennobuilder Oct 12, 2020
d195a4a
refactored state
bennobuilder Oct 13, 2020
af06be7
x
bennobuilder Oct 16, 2020
3c9d8bc
x
bennobuilder Oct 16, 2020
7976d79
x
bennobuilder Oct 17, 2020
371a752
x
bennobuilder Oct 17, 2020
83fbacb
x
bennobuilder Oct 17, 2020
64d9464
removed dep.ts and added deps and subs into observer
bennobuilder Oct 17, 2020
3506239
Created generateId function
bennobuilder Oct 17, 2020
5b2df75
Added Event rerender functionality
bennobuilder Oct 18, 2020
fde4a7e
x
bennobuilder Oct 20, 2020
f7e20e6
x
bennobuilder Oct 21, 2020
c6dca9f
x
bennobuilder Oct 21, 2020
50f4465
x
bennobuilder Oct 21, 2020
1d1548d
Updated some function descriptions
bennobuilder Oct 22, 2020
2cc6061
x
bennobuilder Oct 23, 2020
631bb3b
x
bennobuilder Oct 23, 2020
acc2e56
Started to refactor collection
bennobuilder Oct 24, 2020
1d6a130
x
bennobuilder Oct 24, 2020
0e74fc6
fixed rebuildGroupsThatIncludePrimaryKey issue
bennobuilder Oct 25, 2020
6f9acfc
x
bennobuilder Oct 25, 2020
7df9d7c
Started to update Selector
bennobuilder Oct 25, 2020
291ffd3
Fixed Selector issue
bennobuilder Oct 26, 2020
123966c
Started to create collection.persistent.ts
bennobuilder Oct 26, 2020
614aeae
Fixed Agile Hocs
bennobuilder Oct 27, 2020
83d8eff
Fixed Agile Hocs
bennobuilder Oct 27, 2020
74382db
Updated package.json
bennobuilder Oct 27, 2020
93a5907
Some small tweaks
bennobuilder Oct 27, 2020
a9e814a
Implemented CollectionPersistent into Collection
bennobuilder Oct 27, 2020
ff073ae
Made Collection persist work
bennobuilder Oct 28, 2020
3d643af
Removed old selector and persist
bennobuilder Oct 28, 2020
6026479
Remove Item from Storage if Item get removed
bennobuilder Oct 28, 2020
25a3987
Added lerna
bennobuilder Oct 29, 2020
3f7b6ac
Added yalc to test Agile in react-typescript without having issues wi…
bennobuilder Oct 30, 2020
9abefc4
Updated watch 'script'
bennobuilder Oct 31, 2020
e43599c
Updated gitignore
bennobuilder Oct 31, 2020
0450c23
Fixed collection persist by updating primaryKey bug
bennobuilder Oct 31, 2020
4f3e125
x
bennobuilder Nov 1, 2020
b2eb685
Created useWatcher
bennobuilder Nov 1, 2020
2d9f98b
Decreased version so that lerna can increase it later
bennobuilder Nov 2, 2020
a688c32
Updated useAgile Hook
bennobuilder Nov 2, 2020
908c49b
Created globalBind
bennobuilder Nov 2, 2020
5113b3d
Refactored Api
bennobuilder Nov 2, 2020
00f8fd4
Optimized Collection Persist Functionality
bennobuilder Nov 3, 2020
cc5be3b
Made persist function more flexible
bennobuilder Nov 3, 2020
d3ea76e
Fixed useEvent
bennobuilder Nov 3, 2020
4cb89f3
Fixed useAgile Issue (React has detected a change in the order of Hoo…
bennobuilder Nov 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules/
dist
.yalc

# local env files
.env.local
Expand Down
55 changes: 18 additions & 37 deletions examples/react-typescript/README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,25 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Because of some issues with `npm link` I am using
<a href="https://github.com/whitecolor/yalc">yalc<a/>
which is like a local npm remote registry.

## Available Scripts
## Setup React-Typescript Example

In the project directory, you can run:
#### 1. Run `npm install` at the root of Agile
At first, we have to install some 'global' dependencies of Agile

### `yarn start`
#### 2. Run `npm run install` at the root of Agile
This will install the dependencies of the Agile packages (core, react, api)

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
#### 3. Run `npm run dev-publish` at the root of Agile
As a next step we have to `publish` the Agile packages to the `yalc` repository.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.
#### 4. Run `npm run dev-push` at the root of Agile
After 'publishing' the Agile Packages we can apply changes to it by running this command. /
Which builds the Agile packages and push them to `yalc`. /
All projects that are using the Agile `yalc` dependency will receive the changes.

### `yarn test`
#### 5. Run `npm run install-agile` in this Project
As last step we want to install the Agile dependencies and of course also the other deps.

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
##### Global installed packages will end here:
`C:\Users\'your_name'\AppData\Roaming\npm\node_modules\@agile-ts\core`
Loading