Unable to resolve module … Module does not exist in the module map or in these directories … Naming collision
There is probably a tonne of ways to create an example app for your React Native library, except almost each of them comes with some major downsides.
The naive and common approach will be to use:
yarn add file:../ to add your library to your example app, and that would probably work great! But, you would have to reinstall your package on every lib change, if you don’t forget it. Some libraries are using something similar, with a custom script…
We had to carefully find a way to introduce React Native bit-by-bit into the existing native application.
We’re a small team, and the mobile team don’t have a distinct team for iOS and Android. So, each time a refactor or a new feature comes in, we had to do it on…
Since the last year, the Class Properties Proposal simplify our life, especially in React with the internal
state , or even with statics ones like
ECMAScript 2017 8th edition (ES2017/ES8) has been officially released and published a few weeks ago, let’s figure it out some important changes. All of these are available with Node 8 and with the latest version of browsers without babel or any polyfills.
Like Object.keys, but for values.
Object.keys do, the
Object.values method returns an array of a given object’s own enumerable property values instead of keys.
If we merged Object.keys and Object.values, that would be Object.entries. It returns an array of [key, value].
Object.entries() method returns an array of a given…
Angular CLI is a powerful tool to scaffold and build Angular apps. Not only it provides you scalable project structure, instead, it handles all common tedious tasks for you out of the box and it already follows the Angular best practices.
Build and test your application in a minute
As tasks, we’ve common commands like:
ng newto initialize a new Angular project with a lot of settings.
ng generateto generate something from a blueprint.
ng serveto build the application and starts a web server.
ng buildto compile the application into an output directory.
When you build a piece of software you want to build a reliable one, so often you’re using various continuous integration tools, such as CircleCI, Travis, Shippable, Codeship, AppVeyor, Semaphore, Jenkins, and Bamboo.
I’ve seen a lot of people on their continuous integration cache or reuse the same node_modules between builds. What they want is a fast pipeline, but more often than not this is done to the cost of a trustworthy CI.
— Have you ever heard this when your application act strangely ?
You should delete your node_modules folder and redo a npm install.
— Because I do…