-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
feat(gatsby): Move page component state & side effect handling to xstate #11897
Commits on Feb 19, 2019
-
Inital work to move component query handling to xstate + fix bug with…
… major relay-compilier update
Configuration menu - View commit details
-
Copy full SHA for d61316e - Browse repository at this point
Copy the full SHA d61316eView commit details -
Expand model to include we don't want to immediately extract queries …
…while bootstrapping + initiate extracting queries from machine when new page component is created
Configuration menu - View commit details
-
Copy full SHA for 5db0b2c - Browse repository at this point
Copy the full SHA 5db0b2cView commit details
Commits on Feb 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 2abcb2c - Browse repository at this point
Copy the full SHA 2abcb2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 799391f - Browse repository at this point
Copy the full SHA 799391fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbbd20b - Browse repository at this point
Copy the full SHA bbbd20bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f53d33 - Browse repository at this point
Copy the full SHA 5f53d33View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8fb163 - Browse repository at this point
Copy the full SHA d8fb163View commit details
Commits on Feb 21, 2019
-
Let state machine know when a query has been run and only re-run quer…
…ies if the page query changes
Configuration menu - View commit details
-
Copy full SHA for 97226e6 - Browse repository at this point
Copy the full SHA 97226e6View commit details
Commits on Feb 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9347c2f - Browse repository at this point
Copy the full SHA 9347c2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d242435 - Browse repository at this point
Copy the full SHA d242435View commit details
Commits on Feb 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a124367 - Browse repository at this point
Copy the full SHA a124367View commit details
Commits on Feb 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for aaf8bf3 - Browse repository at this point
Copy the full SHA aaf8bf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53eea1c - Browse repository at this point
Copy the full SHA 53eea1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e4d4df - Browse repository at this point
Copy the full SHA 0e4d4dfView commit details -
Only handle clean ids for static queries (for now until model static …
…queries in a machine as well)
Configuration menu - View commit details
-
Copy full SHA for df226de - Browse repository at this point
Copy the full SHA df226deView commit details -
In hacky/temp way (until modeling pages directly), check if a new pag…
…e has been created and run its query
Configuration menu - View commit details
-
Copy full SHA for 6f60428 - Browse repository at this point
Copy the full SHA 6f60428View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8631558 - Browse repository at this point
Copy the full SHA 8631558View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5525b4 - Browse repository at this point
Copy the full SHA e5525b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 647b2dd - Browse repository at this point
Copy the full SHA 647b2ddView commit details
Commits on Feb 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c3bb339 - Browse repository at this point
Copy the full SHA c3bb339View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e0ddcf - Browse repository at this point
Copy the full SHA 3e0ddcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9343d8e - Browse repository at this point
Copy the full SHA 9343d8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e4c346 - Browse repository at this point
Copy the full SHA 0e4c346View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd4edaa - Browse repository at this point
Copy the full SHA fd4edaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50e9b0f - Browse repository at this point
Copy the full SHA 50e9b0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0066cad - Browse repository at this point
Copy the full SHA 0066cadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10298a4 - Browse repository at this point
Copy the full SHA 10298a4View commit details
Commits on Feb 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b98ea2a - Browse repository at this point
Copy the full SHA b98ea2aView commit details
Commits on Feb 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 836ef5e - Browse repository at this point
Copy the full SHA 836ef5eView commit details -
Update packages/gatsby/src/redux/reducers/components.js
Co-Authored-By: KyleAMathews <mathews.kyle@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3b2006f - Browse repository at this point
Copy the full SHA 3b2006fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f994f6 - Browse repository at this point
Copy the full SHA 4f994f6View commit details -
Switch page components out of bootstrap state right after bootstrap q…
…uery running is finished so if a stateful page changes, new queries are still run
Configuration menu - View commit details
-
Copy full SHA for 2fb8794 - Browse repository at this point
Copy the full SHA 2fb8794View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d3074f - Browse repository at this point
Copy the full SHA 1d3074fView commit details
Commits on Mar 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cb23533 - Browse repository at this point
Copy the full SHA cb23533View commit details -
During bootstrap, only run page queries that are 'clean' (i.e. we hav…
…en't seen them before) or 'dirty' (i.e. their tracked nodes changed since the last run)
Configuration menu - View commit details
-
Copy full SHA for beebbea - Browse repository at this point
Copy the full SHA beebbeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17d34d9 - Browse repository at this point
Copy the full SHA 17d34d9View commit details
Commits on Mar 7, 2019
-
Move simple set context actions to top-level so don't have to repeat …
…across each state (thanks @pieh!)
Configuration menu - View commit details
-
Copy full SHA for 37baf68 - Browse repository at this point
Copy the full SHA 37baf68View commit details
Commits on Mar 8, 2019
-
Simplify logic for running queries for new pages
We only want to run page queries in two circumstances: - the query has changed - the data has changed This is true whether in bootstrap or not. This commit simplifies the reducer / machine logic to not distinguish between whether in bootstrap or not. Also fixes the bug @pieh found where we we're re-running queries in bootstrap if the query had changed.
Configuration menu - View commit details
-
Copy full SHA for 5100484 - Browse repository at this point
Copy the full SHA 5100484View commit details
Commits on Mar 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a8c32e1 - Browse repository at this point
Copy the full SHA a8c32e1View commit details
Commits on Mar 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9daeae2 - Browse repository at this point
Copy the full SHA 9daeae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c299ae6 - Browse repository at this point
Copy the full SHA c299ae6View commit details
Commits on Mar 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 36bda2e - Browse repository at this point
Copy the full SHA 36bda2eView commit details
Commits on Mar 16, 2019
-
Page components shouldn't control extraction — moving that to them me…
…ant changes to static queries weren't being run
Configuration menu - View commit details
-
Copy full SHA for 1adc63d - Browse repository at this point
Copy the full SHA 1adc63dView commit details -
Now that we're not tracking query extracting, add event for when babe…
…l successfully extracts queries so we can know to leave babe error state
Configuration menu - View commit details
-
Copy full SHA for 7932e8e - Browse repository at this point
Copy the full SHA 7932e8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4bb7c2 - Browse repository at this point
Copy the full SHA f4bb7c2View commit details
Commits on Mar 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 20fcf49 - Browse repository at this point
Copy the full SHA 20fcf49View commit details -
Move graphql/babel event handling to top-level as we should always re…
…spond the same way
Configuration menu - View commit details
-
Copy full SHA for 03f4b37 - Browse repository at this point
Copy the full SHA 03f4b37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dfe393 - Browse repository at this point
Copy the full SHA 8dfe393View commit details -
Configuration menu - View commit details
-
Copy full SHA for cedc761 - Browse repository at this point
Copy the full SHA cedc761View commit details
Commits on Mar 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b3fd97b - Browse repository at this point
Copy the full SHA b3fd97bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83eedb2 - Browse repository at this point
Copy the full SHA 83eedb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76475f5 - Browse repository at this point
Copy the full SHA 76475f5View commit details
Commits on Mar 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 67ef857 - Browse repository at this point
Copy the full SHA 67ef857View commit details