You are viewing a single comment's thread from:
RE: Boilerplate For React Applications Using Atlaskit Components And Parcel
Hello Steve, glad that my posts are helping you on your way. Yes, Parcel is fantastic. I lost so many years configuring Webpack and other bundlers :)
Parcel is so liberating. Now I have time to program instead of tinkering my configuration.
Parcel + Babel > Typescript?
I saw in one of your posts that you are using Typescript. Why do you prefer it over plain JavaScript?
LOL. I asked you first. Ok, I'll go. I like typescript because that's just the order of things. I was working with coffeescript, and typescript came soon after to get my attention. Basically, it's what I know. Things I like about typescript:
tscfor compilationts_nodefor runtime execution without compilationsasssupportwebpackintegrationThings I don't like about it
LOL, yes that's true, you asked first ;)
I'm sticking to JavaScript because I like it. I use Babel in all of my projects. Therefore I can use the latest features of the language. And there have been significant additions to the language like the modules syntax and spread operators.
Furthermore, I do not believe in static types. I prefer developing with dynamic types. There is less noise in my code. When I say I do not believe in static types I mean that I do not believe that static types will bring down your error density. If you want to bring down the error density in your programs, use TDD.
I have not used semicolons in my JavaScript program in years, and I had not a single issue with it.
But I agree with you on the tooling. I have seen some great tooling for TypeScript. But there are static analyzers which give you most of the benefits for JavaScript as well.
So to sum it up: I'm just happy using JavaScript :)
I really want to give atlaskit a try. I think this is my gateway drug. I'm going to give it a try. Thanks for pushing it on to me.
:) Let me know what you have built.
PS: I will update the starter to include Redux for state management.
Do you know how to solve this? I'm running into this with
npm run buildWell, it smells like a Babel configuration error. My guess would be a missing configuration for class properties. Check your
.babelrcfile. It should look like this:Ensure that you have the plugin installed:
npm i --save-dev babel-plugin-transform-class-propertiesLet me know if this fixed it for you. If not I have to look at your code. Good luck mate.
Did you find out what the issue has been?
I added it as the default dashboard to my the docker image I use for my bots. https://github.com/r351574nc3/docker-steem-bot-template/releases/tag/0.1.0-atlasparcel
I also started a new steemit-events project to use it. It's an event app for steemit blockchain.
Cool, will check it out and see what you have done with it. BTW: I added Redux to the starter.