react-transform-boilerplate-ts
react-transform-boilerplate-ts copied to clipboard
A new Webpack boilerplate with hot reloading React components written in Typescript
`npm install` finished fine, but when trying to run through `npm start` I get the following output & error: ``` $ npm start > [email protected] start C:\Projects\test\react-transform-boilerplate-ts > node devServer.js...
Is it possible to run the compiled result without having to run the server?
on Ubuntu 16.04, node v4.5.0, chromium 52.0.2743: > [HMR] bundle rebuilding > client.js:130 [HMR] bundle rebuilt in 931ms > process-update.js:27 [HMR] Checking for updates on the server... > process-update.js:81 [HMR]...
Managed to run wepback and start the project (applying fix #7 proposed by @svdoever). When I run the app npm start I get a white screen in the browser and...
See https://github.com/wmaurer/react-transform-boilerplate-ts/issues/7#issuecomment-209414648
Thanks for the boilerplate! Just wanted to mention that per https://github.com/DefinitelyTyped/tsd/issues/269 TSD has been deprecated, and the use of https://github.com/typings/typings is now recommended.
In Counter.tsx if you change /h1 to /1 to break the page.. then change it back to /h1 again, you can continue to make changes to the h1 content/text and...
Here's an example (slightly modified Counter class from src): ``` export default class Counter extends React.Component { ... label: string = 'Counter'; render() { return ( {this.label} ({this.props.increment}): {this.state.counter} );...
The sourcemaps for the tsx files show transpiled source, rather than the original tsx source file. This is a big benefit and something I have working in my current setup...