Send initial state in a <script type="application/json"> tag (#1806)
Showing
- app/assets/javascripts/components/containers/mastodon.jsx 4 additions, 3 deletionsapp/assets/javascripts/components/containers/mastodon.jsx
- app/assets/javascripts/components/features/community_timeline/index.jsx 4 additions, 2 deletions...ascripts/components/features/community_timeline/index.jsx
- app/assets/javascripts/components/features/hashtag_timeline/index.jsx 4 additions, 2 deletions...avascripts/components/features/hashtag_timeline/index.jsx
- app/assets/javascripts/components/features/public_timeline/index.jsx 4 additions, 2 deletions...javascripts/components/features/public_timeline/index.jsx
- app/assets/javascripts/components/reducers/meta.jsx 1 addition, 0 deletionsapp/assets/javascripts/components/reducers/meta.jsx
- app/assets/javascripts/components/stream.jsx 2 additions, 2 deletionsapp/assets/javascripts/components/stream.jsx
- app/controllers/home_controller.rb 4 additions, 3 deletionsapp/controllers/home_controller.rb
- app/views/home/index.html.haml 1 addition, 3 deletionsapp/views/home/index.html.haml
- app/views/home/initial_state.json.rabl 1 addition, 0 deletionsapp/views/home/initial_state.json.rabl
Please register or sign in to comment