FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Laravel+React+ES6+Browserify
NewsWeb Development

Laravel+React+ES6+Browserify

via Dev.to ReactKenta Takeuchi12h ago

This article was originally published on bmf-tech.com . I previously wrote about setting up a React environment using bower, but managing React packages with npm is smarter, and it's better to be able to write in ES6 for future benefits. So, I rebuilt the environment. Since the way of writing changes quite a bit from ES5 to ES6, making those modifications was a bit of a hassle, but it doesn't seem too difficult, so there's no need to feel overwhelmed. Environment Laravel 5.2 ... If you're using 5.1 or 5.2, it might be a good idea to upgrade the version of Elixir to the latest (the same as 5.3). Browserify (the one that comes with Elixir) React ES6 Setting up React with npm npm i react react-dom -D Compilation elixir(function(mix) { mix .browserify('hoge.js', 'hogehoge.js') }); Modifying ES5 to ES6 This is very helpful. Rewrite React.js source from ES5 to ES6 Making ES6 compatible with ES5 Use a transpiler, like Babel. Thoughts This was just a memo.

Continue reading on Dev.to React

Opens in a new tab

Read Full Article
2 views

Related Articles

News

Gothub is live

Lobsters • 12h ago

I Built the Tool I Wish I Had When I Started My Open Source Journey
News

I Built the Tool I Wish I Had When I Started My Open Source Journey

Medium Programming • 12h ago

Razer Boomslang 20th Anniversary Mouse Review: For Collectors
News

Razer Boomslang 20th Anniversary Mouse Review: For Collectors

Wired • 13h ago

How Bug Bounty Hunters Prioritize 10,000 Recon Targets (Without Losing Their Mind)
News

How Bug Bounty Hunters Prioritize 10,000 Recon Targets (Without Losing Their Mind)

Medium Programming • 13h ago

Microsoft Hasn’t Had a Coherent GUI Strategy Since Petzold
News

Microsoft Hasn’t Had a Coherent GUI Strategy Since Petzold

Lobsters • 14h ago

Discover More Articles