Commit graph

31 commits

Author SHA1 Message Date
Vesa Luusua
0edd574cf6 Initialize react-dates in index.js 2018-01-31 14:23:35 +02:00
Kimmo Puputti
81a2a2c50b Use message IDs as translations in tests 2017-11-30 12:21:55 +02:00
Kimmo Puputti
7ea3c3b30d Improve and document changing locale 2017-11-24 15:47:20 +02:00
Kimmo Puputti
3a1ed66c5e Fix configureStore params 2017-10-26 14:48:42 +03:00
Kimmo Puputti
a996f154d1 Import PropTypes from the prop-types package 2017-10-17 09:50:22 +03:00
Vesa Luusua
54ec4ae996 RouteConfiguration within React Router (Routes.js) needs to stay the same. 2017-10-16 15:09:52 +03:00
Kimmo Puputti
78de6d9d69 Disable deprecated proptype import lint error 2017-10-12 14:09:02 +03:00
Vesa Luusua
80a66c7966 app.js: remove flattenRoutes and RoutesProvider 2017-10-11 14:18:31 +03:00
Vesa Luusua
40488083fd Rename routesConfiguration to routeConfiguration 2017-10-11 14:18:30 +03:00
Kimmo Puputti
5781c79ff7 Remove MobileFrame and related hacks 2017-05-22 16:32:51 +03:00
Kimmo Puputti
ae56344d0a Update NPM packages 2017-04-03 10:48:45 +03:00
Kimmo Puputti
61d7470fa7 Fix server side rendering having the initial store state 2017-03-28 15:23:59 +03:00
Mikko Koski
6280d2da79 Move MobileFrame to app.js to prevent multiple instances 2017-03-23 16:17:43 +02:00
Kimmo Puputti
cfab06d813 Don't print trailing comma in fn args since it breaks in Node 2017-03-15 15:54:49 +02:00
Kimmo Puputti
48d6b3a3bd Add support for forbidden status in server rendering 2017-02-16 14:04:10 +02:00
Kimmo Puputti
1e9e72a841 Provide flattened routes in the context 2017-02-15 16:18:01 +02:00
Kimmo Puputti
078569e71d Rename routes prop to flattenedRoutes 2017-02-15 15:51:13 +02:00
Kimmo Puputti
d56a00a316 Move route util functions to a separate module 2017-02-15 15:31:39 +02:00
Kimmo Puputti
9a91380896 Provide routesConfiguration and use flattened routes for Routes 2017-02-14 14:24:15 +02:00
Kimmo Puputti
3f4bc073d4 Fix routers and server context 2017-02-14 10:48:10 +02:00
Kimmo Puputti
be2fcdf793 Import from react-router-dom instead of react-router 2017-02-14 09:43:37 +02:00
Kimmo Puputti
50e22d0d1e Format JS with Prettier 0.13.1 2017-01-30 10:57:27 +02:00
Vesa Luusua
c02ae5148c Initial React-Intl setup 2017-01-24 19:20:35 +02:00
Vesa Luusua
327ea45b80 Add routes configuration 2017-01-24 19:09:57 +02:00
Vesa Luusua
4feb5e8087 A run with correct Prettier version 2017-01-20 15:02:55 +02:00
Vesa Luusua
1fa70eadf2 Pass preloaded state to client side. 2017-01-20 15:02:54 +02:00
Vesa Luusua
a5e051a7ee Add redux. Shared actions can be found from _src/ducks/_ folder and route specific are inside container folder. 2017-01-20 15:02:54 +02:00
Kimmo Puputti
1263525800 Add missing propTypes 2017-01-19 11:32:49 +02:00
Kimmo Puputti
ef1a8eb15d Format with Prettier 2017-01-19 11:29:29 +02:00
Vesa Luusua
a8ad16f089 AuthenticationPage and fake authentication setup 2017-01-13 16:55:13 +02:00
Kimmo Puputti
4e2aedbd14 Move client and server apps to a separate file
index.js is the entrypoint file for the bundle and has to render the
app when running within a browser. Separating the app routing init
etc. to a different file allows us to import both ClientApp and
ServerApp in e.g. tests no matter which env we are in.
2017-01-11 16:01:35 +02:00