Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: frejs/fre
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.13.5
Choose a base ref
...
head repository: frejs/fre
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Apr 23, 2020

  1. Copy the full SHA
    96775a5 View commit details
  2. Merge pull request #145 from lucat1/patch-1

    Include typescript typings in the npm tarball
    yisar authored Apr 23, 2020
    Copy the full SHA
    6b2561f View commit details

Commits on May 5, 2020

  1. add options

    yisar committed May 5, 2020
    Copy the full SHA
    2a8c32a View commit details
  2. prepublish

    yisar committed May 5, 2020
    Copy the full SHA
    4628d80 View commit details
  3. publish v1.13.7

    yisar committed May 5, 2020
    Copy the full SHA
    71d121a View commit details
  4. remove options

    yisar committed May 5, 2020
    Copy the full SHA
    b1666a8 View commit details

Commits on May 10, 2020

  1. rename

    yisar committed May 10, 2020
    Copy the full SHA
    cf02389 View commit details
  2. add tsconfig

    yisar committed May 10, 2020
    Copy the full SHA
    b30db1c View commit details
  3. refactor h function

    yisar committed May 10, 2020
    Copy the full SHA
    e9e5789 View commit details
  4. wried textNode

    yisar committed May 10, 2020
    Copy the full SHA
    89bfdad View commit details
  5. rollback

    yisar committed May 10, 2020
    Copy the full SHA
    8891ea6 View commit details
  6. test changes

    yisar committed May 10, 2020
    Copy the full SHA
    9d32745 View commit details

Commits on May 11, 2020

  1. fix ie8

    yisar committed May 11, 2020
    Copy the full SHA
    a9a770b View commit details
  2. update code

    yisar committed May 11, 2020
    Copy the full SHA
    5ff19de View commit details
  3. passed tests

    yisar committed May 11, 2020
    Copy the full SHA
    cddfef4 View commit details
  4. some types

    yisar committed May 11, 2020
    Copy the full SHA
    71538f2 View commit details
  5. add types

    yisar committed May 11, 2020
    Copy the full SHA
    0a8fec6 View commit details
  6. complete reconcile

    yisar committed May 11, 2020
    Copy the full SHA
    c5fa6cc View commit details
  7. complete work

    yisar committed May 11, 2020
    Copy the full SHA
    c5bc38a View commit details
  8. fix type

    yisar committed May 11, 2020
    Copy the full SHA
    e635a64 View commit details
  9. fix svg

    yisar committed May 11, 2020
    Copy the full SHA
    85b3364 View commit details
  10. update ci

    yisar committed May 11, 2020
    Copy the full SHA
    86514f3 View commit details
  11. fix svg

    yisar committed May 11, 2020
    Copy the full SHA
    c14a57c View commit details
  12. fix dom type

    yisar committed May 11, 2020
    Copy the full SHA
    85969ad View commit details
  13. rename

    yisar committed May 11, 2020
    Copy the full SHA
    27684ca View commit details
  14. add suspense

    yisar committed May 11, 2020
    Copy the full SHA
    444376e View commit details

Commits on May 19, 2020

  1. add lazy

    yisar committed May 19, 2020
    Copy the full SHA
    8c9fbad View commit details
  2. add types

    yisar committed May 19, 2020
    Copy the full SHA
    dd3f847 View commit details
  3. finished Suspense

    yisar committed May 19, 2020
    Copy the full SHA
    d3f6ebc View commit details
  4. Merge pull request #1 from yisar/next

    Next
    1123612483 authored May 19, 2020
    Copy the full SHA
    e485f3a View commit details
  5. slice compat

    yisar committed May 19, 2020
    Copy the full SHA
    e6e5802 View commit details
  6. add compat

    yisar committed May 19, 2020
    Copy the full SHA
    9c4e4fb View commit details
  7. add types

    Juetta authored and Juetta committed May 19, 2020
    Copy the full SHA
    675caf4 View commit details
  8. cleanup code

    yisar committed May 19, 2020
    Copy the full SHA
    238f0e1 View commit details
  9. Merge branch 'next' into next

    yisar authored May 19, 2020
    Copy the full SHA
    9184d48 View commit details
  10. Merge pull request #147 from 1123612483/next

    add types
    yisar authored May 19, 2020
    Copy the full SHA
    1b46c5a View commit details
  11. add smoe

    yisar committed May 19, 2020
    Copy the full SHA
    fc67ea9 View commit details
  12. Copy the full SHA
    4440528 View commit details
  13. fix bug

    yisar committed May 19, 2020
    Copy the full SHA
    f9a109e View commit details
  14. add context

    yisar committed May 19, 2020
    Copy the full SHA
    3cdda77 View commit details
  15. Merge pull request #2 from yisar/next

    Next
    1123612483 authored May 19, 2020
    Copy the full SHA
    e5e70b2 View commit details
  16. fix types

    Juetta authored and Juetta committed May 19, 2020
    Copy the full SHA
    3feca12 View commit details

Commits on May 20, 2020

  1. Merge pull request #148 from 1123612483/next

    Next
    yisar authored May 20, 2020
    Copy the full SHA
    fbb3065 View commit details
  2. remove undefined

    yisar committed May 20, 2020
    Copy the full SHA
    a12f0e2 View commit details
  3. move memo from core to compat

    yisar committed May 20, 2020
    Copy the full SHA
    2b2808c View commit details
  4. modify tscofig

    yisar committed May 20, 2020
    Copy the full SHA
    db0e439 View commit details
  5. add compat bundle

    yisar committed May 20, 2020
    Copy the full SHA
    48486f4 View commit details

Commits on May 24, 2020

  1. simplify effects

    yisar committed May 24, 2020
    Copy the full SHA
    e61fce3 View commit details
  2. change word

    yisar committed May 24, 2020
    Copy the full SHA
    cecd699 View commit details
  3. simplify

    yisar committed May 24, 2020
    Copy the full SHA
    1cc9dfe View commit details
Showing with 7,163 additions and 14,218 deletions.
  1. +0 −22 .babelrc
  2. +1 −11 .github/FUNDING.yml
  3. +7 −19 .github/workflows/main.yml
  4. +5 −6 .gitignore
  5. +0 −1 CNAME
  6. +71 −158 README.md
  7. +0 −11 demo/.babelrc
  8. +11 −0 demo/README.md
  9. +17 −16 demo/index.html
  10. +12 −26 demo/package.json
  11. +0 −20 demo/src/3d-array.js
  12. +26 −0 demo/src/auto-batch.tsx
  13. +0 −24 demo/src/batch-updates.js
  14. +88 −82 demo/src/{benchmark.js → benchmark.tsx}
  15. +8 −11 demo/src/{concurrent.js → concurrent.tsx}
  16. +18 −0 demo/src/error-boundary.tsx
  17. +0 −14 demo/src/fragment.js
  18. +24 −0 demo/src/fragment.tsx
  19. +27 −0 demo/src/h.tsx
  20. +18 −0 demo/src/hydrate.tsx
  21. +136 −0 demo/src/keys.tsx
  22. +0 −40 demo/src/lazy.js
  23. +11 −8 demo/src/{memo.js → memo.tsx}
  24. +0 −45 demo/src/raf.js
  25. +0 −65 demo/src/ref.js
  26. +43 −0 demo/src/ref.tsx
  27. +0 −16 demo/src/render-bug.js
  28. +0 −12 demo/src/render-props.js
  29. +0 −31 demo/src/state-props.js
  30. +28 −0 demo/src/suspense.tsx
  31. +2 −2 demo/src/{svg.js → svg.tsx}
  32. +0 −82 demo/src/use-context.js
  33. +78 −0 demo/src/use-context.tsx
  34. +8 −8 demo/src/{use-effect.js → use-effect.tsx}
  35. +0 −32 demo/src/use-layout.js
  36. +31 −0 demo/src/use-layout.tsx
  37. +0 −62 demo/src/use-location.js
  38. +2 −4 demo/src/{use-memo.js → use-memo.tsx}
  39. +2 −2 demo/src/{use-reducer.js → use-reducer.tsx}
  40. +0 −12 demo/src/use-state.js
  41. +15 −0 demo/src/use-state.tsx
  42. +39 −0 demo/src/use-sync-external-store.tsx
  43. +114 −0 demo/src/with-jotal.tsx
  44. +12 −0 demo/vite.config.js
  45. +0 −7,105 demo/yarn.lock
  46. +266 −0 docs/README.md
  47. +38 −0 docs/deno-deploy.ts
  48. +60 −0 docs/docup.fre.min.js
  49. +1 −0 docs/docup.min.css
  50. +55 −0 docs/index.html
  51. +254 −0 docs/zh.md
  52. +0 −110 index.d.ts
  53. +1 −0 jsx-dev-runtime.d.ts
  54. +1 −0 jsx-dev-runtime.js
  55. +989 −0 jsx-runtime.d.ts
  56. +1 −0 jsx-runtime.js
  57. +53 −38 package.json
  58. +3,300 −0 pnpm-lock.yaml
  59. +0 −13 prepublish.js
  60. +20 −9 rollup.config.js
  61. +66 −0 src/commit.ts
  62. +0 −38 src/dom.js
  63. +57 −0 src/dom.ts
  64. +0 −45 src/h.js
  65. +52 −0 src/h.ts
  66. +0 −51 src/heapify.js
  67. +163 −0 src/hook.ts
  68. +0 −80 src/hooks.js
  69. +0 −44 src/index.js
  70. +16 −0 src/index.ts
  71. +224 −0 src/reconcile.ts
  72. +0 −264 src/reconciler.js
  73. +55 −0 src/schedule.ts
  74. +0 −68 src/scheduler.js
  75. +135 −0 src/type.ts
  76. +9 −17 test/{reconcilation.test.jsx → diff.tsx}
  77. +19 −20 test/{effect.test.js → effect.tsx}
  78. +30 −0 test/fragment.tsx
  79. +130 −0 test/h.spec.tsx
  80. +0 −106 test/h.test.jsx
  81. +0 −56 test/heapify.test.js
  82. +25 −0 test/memo.tsx
  83. +17 −18 test/{ref.test.js → ref.tsx}
  84. +25 −0 test/render.spec.tsx
  85. +0 −71 test/render.test.jsx
  86. +40 −0 test/svg.tsx
  87. +0 −40 test/test-util.js
  88. +47 −0 test/test-util.tsx
  89. +0 −151 test/update.test.jsx
  90. +142 −0 test/update.tsx
  91. +18 −0 tsconfig.json
  92. +0 −5,032 yarn.lock
22 changes: 0 additions & 22 deletions .babelrc

This file was deleted.

12 changes: 1 addition & 11 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
# These are supported funding model platforms

github:
patreon: # Replace with a single Patreon username
open_collective: fre
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
github: yisar
26 changes: 7 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@

name: main

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: node dependencies cache
uses: actions/cache@v1.1.0
with:
path: ~/.npm
key: ${{ runner.OS }}-node-modules-cache-${{ hashFiles('yarn.lock') }}
- name: install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
npm install -g yarn
yarn
- name: test
run: yarn test
run: yarn && yarn test && yarn report
- name: report
uses: codecov/codecov-action@v1.0.6
uses: codecov/codecov-action@v3
with:
file: .nyc_output/coverage-pw.json
token: c7a23beb-e642-432f-bcbc-7a0385a75c81
env:
CI: true
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/node_modules/
/.idea/
/.cache/
/coverage/
/.nyc_output/
yarn-error.log
.ignore/
packages/.fre/
demo/**/node_modules/
server/**/node_modules/
demo/**/.cache/
demo/**/dist/
demo/**/preact/
/dist/
/**/node_modules/
.DS_Store
/.ignore/
yarn.lock
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

Loading