Comments (1)
process.env.NODE_ENV
(like React does) is a good strategy. Most people are using envify
(or the webpack equivalent) to strip out the React dev stuff, so not freezing in production mode would follow.
There's something nagging me in the back of my mind, because I remember thinking about this 6 months ago, but I cant remember why I didn't choose to do this at that time.
from icepick.
Related Issues (20)
- Is it by design array method like I.push(arr, data) doesn't freeze data HOT 1
- Missing dissocIn. HOT 7
- Doc on github readme wrong lol HOT 2
- icepick.merge() of two identical objects containing an array returns a new object HOT 4
- Documentation unclear about whether icepick adds methods to `Object.prototype` HOT 3
- Add `thru` method to `chain` wrapper HOT 1
- mergeIn HOT 2
- Using icepick.js in browser directly? HOT 11
- `assign` description incorrect? HOT 3
- A typo in README
- Tag is missing for 2.0.0 HOT 1
- Uglify fails on 2.0 with RCA HOT 2
- icepick/fp interface HOT 1
- icepick chain fails with map and filter HOT 2
- Please add a LICENSE file HOT 2
- merge doesn't work with objects that don't have a prototype. HOT 2
- Main entrypoint not compatible with ES5 HOT 3
- Generic "in" operator HOT 1
- Version of Icepick that does not freeze HOT 2
- Order changed by updateIn
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icepick.