Skip to main content

Questions tagged [babel.js]

Babel (formerly 6to5) is a JavaScript compiler. It transforms ES6+/ES2015 code into ES5 code.

0 votes
0 answers
42 views

I am learning react.js, and I am on a way learning react hooks. I followed some examples on 'useReducer' where I have a search input for searching movies, and I load the list of movies from API. The ...
Rahul Shivsharan's user avatar
3 votes
1 answer
58 views

I'm trying to think of ways to clean up this component in my app so it looks more readable to other devs. This is the best I came up with so far. It's not that bad, but I think it could be a lot ...
Robert C's user avatar
  • 149
1 vote
1 answer
117 views

I'm starting to explore the world of ASTs and codemods. As such my first foray is a simple transform to move statements like let fs = require('fs') to ...
Nick Tomlin's user avatar
5 votes
1 answer
234 views

My company is going to make a big leap soon, and since we are currently still running on AngularJS 1.3.X we decided to make the switch to react for a myriad of reasons besides the obvious. Being the ...
Stagg's user avatar
  • 53
10 votes
1 answer
241 views

Excuse the pun in the title, the project this is for is called "Cheddar" (a type of cheese). Github I have recently been writing a language, in which I was using grunt. Grunt was very slow for me, ...
Downgoat's user avatar
  • 902
1 vote
1 answer
159 views

I am using Webpack to create a sort of loading sequence of the application. I can simply call prepareInfosite().render() and I don't need to care about the hidden ...
FredyC's user avatar
  • 217
6 votes
1 answer
430 views

This CalendarService is part of a little node-bot I wrote today which sends out reminder-emails if a team member forgets to submit his weekly schedule in time. ...
chapati's user avatar
  • 61
1 vote
1 answer
105 views

This implementation uses ECMA6 syntax and babel as transpiler. You can use this code to add integers which are bigger than Number.MAX_SAFE_INTEGER. ...
kharandziuk's user avatar