Releases
4.2.0
adds LOCAL_STORAGE_KEY
to .env
, to allow saving/retrieving MobX store state to localStorage
on the client
adds schema/schema.graphql
, with sample schema for Hacker News stories
refactors <StateConsumer>
as new withStore()
HOC in @/lib/store.ts
refactors <HackerNews>
example to use the new auto-generayed <GetHackerNewsTopStories.Component>
removes default exports in example components
fixes #150 - React-Hot-Loader 4.7
renames @/data/state.ts
-> @/data/store.ts
(now exports Store
class)
adds autosave
and new rehydrate
funcs in @/lib/store.ts
, for saving and retrieving MobX state to/from localStorage
refactors @/entry/client.tsx
with new MobX store hydration/auto-save
refactors @/entry/server.tsx
with new MobX store
adds auto-generated @/graphql/index.tsx
with query and HOC for getting top HackerNews stories
removes previous @/lib/mobx.ts
fixes static runner; removes koa2-history-api-fallback
package in favour of a local function
adds HOST
to .env
and common.host
in runner to allow binding to non-localhost
adds react-dom
alias to Webpack common config, to use @hot-loader/react-dom
renames __APOLLO_STATE__
-> __APOLLO__
, for Apollo GraphQL rehydration on the client
passes per-request store
to createClient()
, for use-cases where store data is needed inside GraphQL requests (JWTs, etc)
You can’t perform that action at this time.