{"repo":"kbrw/reaxt","free":true,"listed":false,"github":"https://github.com/kbrw/reaxt","clone":"git clone https://github.com/kbrw/reaxt.git","description":"Use React template into your Elixir application for server rendering","language":"Elixir","stars":372,"topics":["elixir","webpack","javascript","react","server-side-rendering"],"license":"MIT","category":"ui-components","readme_excerpt":"Reaxt ===== Use your React components into your elixir application, using webpack compilation, so : - An isomorphic ready library (SEO/JS are now nice together), but with Elixir on the server side - Just a Library, with a minimum constraint about your application organization and layout : - use any javascript compiled language - use any javascript routing logic or library - you can use JS React rendered component only for parts of your webpage - Nice fluent dev workflow, with : - combined stacktrace : elixir javascript - hot loading on both server and browser - NPM/Webpack as the only config for respectively dependencies/compilation - A cool UI to have an overview of your compiled javascript application - You do not have to think about the server side Javascript configuration, just write a webpack conf for the browser, and it is ready to use. TODO List : - [ ] Handle Source map in server side for combined stacktrace generation - [ ] Add Source map in client side - [ ] Currently the compiler compile in parallel server entry and client entries, but server side compilation does not handle cacheable and slow down very much the compilation - [ ] handle css loader for reaxt/style loader, currently it is ignored in server side, which is a problem for URL remapping in CSS. Usage ## See https://github.com/awetzel/reaxt-example for a ready to use example application, but lets look into details and requirements. In your mix.exs, add the dependency and the custom compiler for webpack: - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/kbrw","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kbrw/reaxt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}