Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Support React Refresh #1069

Draft
wants to merge 73 commits into
base: master
Choose a base branch
from
Draft

[WIP] Support React Refresh #1069

wants to merge 73 commits into from

Commits on Jun 1, 2022

  1. Configuration menu
    Copy the full SHA
    419509d View commit details
    Browse the repository at this point in the history
  2. Add EmissionTest

    japgolly committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    67f0713 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d5f589 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f0e130f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9f484dc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3d057f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Configuration menu
    Copy the full SHA
    5796d2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1717979 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Remove useless line

    japgolly committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    89ee1f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8197dd3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3b8a09 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39ce3dc View commit details
    Browse the repository at this point in the history
  5. Fix formatting

    japgolly committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    bee7150 View commit details
    Browse the repository at this point in the history
  6. Add TODO

    japgolly committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    ff104a4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    008744e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d2e6f64 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    656a963 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Create AbstractHookMacros

    japgolly committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    cfb090c View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. Add tcc sbt alias

    japgolly committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    2005e88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9967f39 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1dda343 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Configuration menu
    Copy the full SHA
    b9ccc8b View commit details
    Browse the repository at this point in the history
  2. Rename tec alias

    japgolly committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    d763377 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c69eaf1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e3c8da8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3bc3af9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9425f16 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. Configuration menu
    Copy the full SHA
    fd38f4b View commit details
    Browse the repository at this point in the history
  2. Revert "Give up trying to preserve bincompat"

    This reverts commit fd38f4b.
    japgolly committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    11f0cf5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    02b1f18 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    76790d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    48f92cf View commit details
    Browse the repository at this point in the history
  6. Add renderDebug

    japgolly committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    84d6666 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    386f6a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    13b9041 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    f0f87f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a75383 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Support custom* hook methods

    japgolly committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    065ddb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f1851c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b28aac6 View commit details
    Browse the repository at this point in the history
  4. Improve ReactRefreshTest

    * more informative per-test output
    * easier to support tests with RR isn't expected
    japgolly committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    725a7fd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1128fc4 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Configuration menu
    Copy the full SHA
    7275c97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a13dfe View commit details
    Browse the repository at this point in the history
  3. Gonna have to add renderRR and leave render alone

    A few reasons:
    
    * https://github.com/lampepfl/dotty/issues/15435 requires an
      extension method
    
    * it's actually better to make it opt-in for now until it's fully
      stable, seeing as it's turning out to be more complex than expected
    
    * similarly, having the ability to use the existing, stable, render
      method would be advantageous if an unexpected error occurs in renderRR
    japgolly committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    931a8d3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cbdd990 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    19a50aa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    073ee30 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    faac76e View commit details
    Browse the repository at this point in the history
  8. Make Hook{Defn,Step} static

    japgolly committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    6f16bcb View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. Configuration menu
    Copy the full SHA
    729ef6d View commit details
    Browse the repository at this point in the history
  2. Refactor for readability

    japgolly committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    70cde24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d0e4ea6 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. Configuration menu
    Copy the full SHA
    c07533a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de5e001 View commit details
    Browse the repository at this point in the history
  3. Inline HookCtx stuff

    japgolly committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    f2c63de View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Got useCallback working

    japgolly committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    63a2045 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8298460 View commit details
    Browse the repository at this point in the history
  3. Support useCallbackWithDeps*

    japgolly committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    55723b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. useMemo* done

    japgolly committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    6d66364 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    142f6e1 View commit details
    Browse the repository at this point in the history
  3. Avoid shadowing in Scala 2

    japgolly committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    2fb130a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e868482 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. use*Effect*

    japgolly committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    5c17b04 View commit details
    Browse the repository at this point in the history
  2. useForceUpdate take 2

    japgolly committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    63c5df6 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Support useRef*

    japgolly committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    a8693f4 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    df81d84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17f5b09 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc559e0 View commit details
    Browse the repository at this point in the history
  4. Fix Scala 2 compilation - stategy is fine

    Only polymorphic contexts need help, otherwise type inferance works fine
    (as confirmed in tests)
    japgolly committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    c4cf1b3 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Configuration menu
    Copy the full SHA
    ebfd757 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad7b116 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a428e3 View commit details
    Browse the repository at this point in the history