Using ES modules natively in Node.js

Using ES modules natively in @nodejs:  by @rauschma #ReactJS #Javascript

  • Tip: if you don’t switch on any of the unlockables (extra features), you’ll stay 100% compatible with native ES modules on Node.js.
  • The current plan is to make ES modules available by default in Node.js 10 LTS.
  • Node.js has to be able to detect whether a file contains a CJS module or an ES module.
  • You can read about the alternatives in a separate blog post.
  • More information on ES modules in Node.js and browsers:

Starting with version 8.5.0, Node.js supports ES modules natively, behind a command line option. Most of the credit for this new functionality goes to Bradley Farias.
This blog post explains the details.
Continue reading “Using ES modules natively in Node.js”

DevDecks

  • Seamlessly highlight code as you focus on communicating what your code does.
  • Some of the features we envision in future releases include the ability to make API calls, integrate voice recognition and bluetooth device connectivity, collaborate remotely, and automatically sync files with cloud storage services.
  • Access the component API and harness the power of NodeJS to bring your dream feature to life.
  • Add new functionality by creating your own plugins.
  • Built in Electron with React-Redux/TypeScript.

No more switching windows in the middle of your presentation. Seamlessly highlight code as you focus on communicating what your code does.
Continue reading “DevDecks”

reactjs-datepicker

  • We’re always trying to stay compatible with the latest version of React.
  • To extend the examples with a new example, you can simply duplicate one of the existing examples and change the unique properties of your example.
  • The example below shows how to include the css from this package if your build system supports requiring css files (webpack is one that does).
  • The master branch contains the latest version of the Datepicker component.
  • By default, the date picker will use the locale globally set in moment, which is English.

Read the full article, click here.


@npmdaily: “reactjs-datepicker – A simple and reusable datepicker component for React #npm #javascript #nodejs”


A simple and reusable datepicker component for React


reactjs-datepicker